move inputManger into _cc namespace (#2832)

This commit is contained in:
PP
2018-06-08 13:02:43 +08:00
committed by pandamicro
parent e018939977
commit c70f6de4b8
2 changed files with 4 additions and 4 deletions
+1 -4
View File
@@ -604,9 +604,6 @@ var inputManager = {
}
};
js.get(cc, 'inputManager', function () {
cc.warnID(1405, 'cc.inputManager', 'cc.systemEvent');
return inputManager;
});
_cc.inputManager = inputManager;
module.exports = inputManager;
+3
View File
@@ -37,6 +37,9 @@
cc = {};
_ccsg = {};
// For internal usage
_cc = {};
require('./predefine');
require('./CCDebugger');