first release of libantosdk

This commit is contained in:
mrsang
2021-04-18 18:49:53 +02:00
parent 211753bfdc
commit 90864aabb7
61 changed files with 154246 additions and 27 deletions

View File

@ -0,0 +1,19 @@
(function() {
// import the CodePad application module
const App = this.OS.application.Antedit;
// define the extension
App.extensions.{0} = class {0} extends App.EditorBaseExtension {
constructor(app) {
super("{0}",app);
}
test() {
return this.notify("Test action is invoked");
}
cleanup() {}
};
}).call(this);

View File

@ -0,0 +1,15 @@
{
"javascripts": ["{0}.js"],
"copies": [],
"meta": {
"name": "{0}",
"text": "{0}",
"version": "0.0.1-a",
"actions" : [
{
"text": "__(Example action)",
"name": "test"
}
]
}
}