diff --git a/cocos2d/core/platform/attribute.js b/cocos2d/core/platform/attribute.js index e3542aa139..b050a9ebfc 100644 --- a/cocos2d/core/platform/attribute.js +++ b/cocos2d/core/platform/attribute.js @@ -183,13 +183,6 @@ cc.Integer = 'Integer'; */ cc.Float = 'Float'; -if (CC_EDITOR) { - JS.get(cc, 'Number', function () { - cc.warnID(3603); - return cc.Float; - }); -} - /** * Indicates that the elements in array should be type boolean. * @property {string} Boolean