diff --git a/cocos2d/core/platform/CCInputManager.js b/cocos2d/core/platform/CCInputManager.js index dcf8a921ec..2c742222a1 100644 --- a/cocos2d/core/platform/CCInputManager.js +++ b/cocos2d/core/platform/CCInputManager.js @@ -604,6 +604,10 @@ var inputManager = { } }; +js.get(cc, 'inputManager', function () { + cc.warnID(1405, 'cc.inputManager', 'cc.systemEvent'); + return inputManager; +}); _cc.inputManager = inputManager; module.exports = inputManager;