aboutsummaryrefslogtreecommitdiffstats
path: root/src/apis.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/apis.js')
-rw-r--r--src/apis.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apis.js b/src/apis.js
index ffa2e788..c232e4a9 100644
--- a/src/apis.js
+++ b/src/apis.js
@@ -4,7 +4,7 @@ var angularGlobal = {
var type = typeof obj;
if (type == $object) {
if (obj instanceof Array) return $array;
- if (obj instanceof Date) return $date;
+ if (isDate(obj)) return $date;
if (obj.nodeType == 1) return $element;
}
return type;