diff options
| author | Misko Hevery | 2010-05-07 12:09:14 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-05-07 12:09:14 -0700 |
| commit | 038a743e6f49c347a38edc0e54dcbb175905a475 (patch) | |
| tree | 8eb10232c94967159175bde5a9209aaf5ba07c67 /src/JSON.js | |
| parent | ac1d02d0658cb74ae3822e364f84809d78cda335 (diff) | |
| download | angular.js-038a743e6f49c347a38edc0e54dcbb175905a475.tar.bz2 | |
xhr bulk fixes
Diffstat (limited to 'src/JSON.js')
| -rw-r--r-- | src/JSON.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JSON.js b/src/JSON.js index 5c3e1043..340b075a 100644 --- a/src/JSON.js +++ b/src/JSON.js @@ -74,7 +74,7 @@ function toJsonArray(buf, obj, pretty, stack){ var childPretty = pretty ? pretty + " " : false; var keys = []; for(var k in obj) { - if (k.indexOf('$$') === 0) + if (k.indexOf('$$') === 0 || obj[k] === undefined) continue; keys.push(k); } |
