diff --git a/mindplot/src/main/javascript/DesignerKeyboard.js b/mindplot/src/main/javascript/DesignerKeyboard.js index fa396b17..47f53a2c 100644 --- a/mindplot/src/main/javascript/DesignerKeyboard.js +++ b/mindplot/src/main/javascript/DesignerKeyboard.js @@ -18,6 +18,17 @@ mindplot.DesignerKeyboard = new Class({ Extends:Keyboard, + Static:{ + register: function(designer) { + this._instance = new mindplot.DesignerKeyboard(designer); + this._instance.activate(); + }, + + getInstance: function(){ + return this._instance; + } + }, + initialize : function(designer) { $assert(designer, "designer can not be null"); this.parent({defaultEventType: 'keydown'}); @@ -335,8 +346,3 @@ mindplot.DesignerKeyboard = new Class({ } }); - -mindplot.DesignerKeyboard.register = function(designer) { - this._instance = new mindplot.DesignerKeyboard(designer); - this._instance.activate(); -}; \ No newline at end of file diff --git a/mindplot/src/test/javascript/static/editor.html b/mindplot/src/test/javascript/static/editor.html deleted file mode 100644 index 943322db..00000000 --- a/mindplot/src/test/javascript/static/editor.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
- The button -
- - - - \ No newline at end of file diff --git a/wise-webapp/doc/Configuration.md b/wise-webapp/doc/Configuration.md new file mode 100644 index 00000000..e69de29b