Rewrite the way to init VimControls

This commit is contained in:
2016-03-18 05:32:51 +08:00
parent acb5d72d89
commit e0c50f1bff
4 changed files with 42 additions and 13 deletions
+1 -1
View File
@@ -53,7 +53,7 @@
var _self = this;
var controls = new VimControls();
var controls = new VimControls( this );
stage.addEventListener(
"KeyDown"
, KeyHandler( this, controls.handler.bind( controls ) )