diff --git a/src/nodes/ui-makeymakey.js b/src/nodes/ui-makeymakey.js index e4a19e4..bdc5c14 100644 --- a/src/nodes/ui-makeymakey.js +++ b/src/nodes/ui-makeymakey.js @@ -1,12 +1,8 @@ -/*global Stats:true*/ - -// extends src/nodes/time.js which extends src/node-box-native-view.js - $(function(){ var template = 'makeymakey
'+ - '';; + ''; Iframework.NativeNodes["ui-makeymakey"] = Iframework.NativeNodes["ui"].extend({ @@ -91,7 +87,7 @@ $(function(){ }, remove: function() { var keys = ['space', 'up', 'down', 'left', 'right']; - for (key in keys) { + for (var key in keys) { Mousetrap.unbind(key, 'keydown'); } $(window).unbind('click');