diff options
| author | Igor Minar | 2010-11-06 23:50:04 -0700 | 
|---|---|---|
| committer | Igor Minar | 2010-11-08 22:49:29 -0800 | 
| commit | 1a43f36e2395c77005fd14fafd43808548b111f2 (patch) | |
| tree | 456581194d95374b8654e4e0357fcf1f366c62c9 /src/apis.js | |
| parent | 1c305dc67a73b8096132c709ee1a2f83879aab98 (diff) | |
| download | angular.js-1a43f36e2395c77005fd14fafd43808548b111f2.tar.bz2 | |
Add isDate method + fix old code
Diffstat (limited to 'src/apis.js')
| -rw-r--r-- | src/apis.js | 2 | 
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;  | 
