Revert "remove redefined property"

This reverts commit 54de7ce4b2.
This commit is contained in:
yinkaile
2018-02-02 11:46:37 +08:00
parent 4a5b95f873
commit 632121daff
+7
View File
@@ -183,6 +183,13 @@ 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