Skip to content

Commit

Permalink
Small bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pandamicro committed May 13, 2015
1 parent d002ef1 commit 072f3ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ cc.Scale9Sprite.prototype._ctor = function(file, rect, capInsets){
this.initWithFile(file, rect, capInsets);
}
}else{
this.init();
cc.Node.prototype.init.call(this);
}
};

Expand Down
4 changes: 2 additions & 2 deletions frameworks/js-bindings/bindings/script/jsb_cocos2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ cc.EventMouse.UP = 2;
cc.EventMouse.MOVE = 3;
cc.EventMouse.SCROLL = 4;
cc.EventMouse.BUTTON_LEFT = 0;
cc.EventMouse.BUTTON_RIGHT = 2;
cc.EventMouse.BUTTON_MIDDLE = 1;
cc.EventMouse.BUTTON_RIGHT = 1;
cc.EventMouse.BUTTON_MIDDLE = 2;
cc.EventMouse.BUTTON_4 = 3;
cc.EventMouse.BUTTON_5 = 4;
cc.EventMouse.BUTTON_6 = 5;
Expand Down
2 changes: 1 addition & 1 deletion frameworks/js-bindings/cocos2d-x

0 comments on commit 072f3ae

Please sign in to comment.