mirror of https://github.com/axmolengine/axmol.git
Merge pull request #12630 from pandamicro/v3.7-release
Fix cc.isArray for JSB
This commit is contained in:
commit
bebce270a7
|
@ -102,7 +102,7 @@ cc.isString = function(obj) {
|
|||
*/
|
||||
cc.isArray = function(obj) {
|
||||
return Array.isArray(obj) ||
|
||||
(typeof obj === 'object' && objectToString(obj) === '[object Array]');
|
||||
(typeof obj === 'object' && Object.prototype.toString.call(obj) === '[object Array]');
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
2
web
2
web
|
@ -1 +1 @@
|
|||
Subproject commit 7bda47bea51d63a649152930c246e366ed48f665
|
||||
Subproject commit 8048837e508ad8f7f2b36ab8426ed32e36996cb3
|
Loading…
Reference in New Issue