mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-26 15:54:55 +01:00
removing fixme
This commit is contained in:
parent
7b5835f2e9
commit
4bcea1363e
@ -140,6 +140,7 @@
|
||||
<include>ScreenManager.js</include>
|
||||
<include>Workspace.js</include>
|
||||
<include>ShrinkConnector.js</include>
|
||||
<include>Keyboard.js</include>
|
||||
<include>DesignerKeyboard.js</include>
|
||||
<include>Keyboard.js</include>
|
||||
<include>TopicStyle.js</include>
|
||||
|
@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
mindplot.DesignerKeyboard = new Class({
|
||||
//Extends: mindplot.Keyboard,
|
||||
Extends: mindplot.Keyboard,
|
||||
Static:{
|
||||
register:function (designer) {
|
||||
this._instance = new mindplot.DesignerKeyboard(designer);
|
||||
@ -34,11 +34,6 @@ mindplot.DesignerKeyboard = new Class({
|
||||
this._registerEvents(designer);
|
||||
},
|
||||
|
||||
//FIXME: mover al parent
|
||||
addShortcut: function(shortcut, callback) {
|
||||
$(document).bind('keydown', shortcut, callback);
|
||||
},
|
||||
|
||||
_registerEvents:function (designer) {
|
||||
|
||||
// Try with the keyboard ..
|
||||
|
@ -17,6 +17,12 @@
|
||||
*/
|
||||
|
||||
mindplot.Keyboard = new Class({
|
||||
|
||||
initialize:function () {
|
||||
},
|
||||
|
||||
addShortcut: function(shortcut, callback) {
|
||||
$(document).bind('keydown', shortcut, callback);
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user