From 36382cffd6a2afbc567f6dd237d01ede64a3ade3 Mon Sep 17 00:00:00 2001 From: Jare Guo Date: Fri, 8 Jun 2018 15:31:28 +0800 Subject: [PATCH] revert cc.inputManager for 1.10 --- cocos2d/core/platform/CCInputManager.js | 4 ++++ 1 file changed, 4 insertions(+) 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;