diff options
| author | Igor Minar | 2011-08-05 16:24:12 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-08-06 01:54:06 -0700 |
| commit | 06835a462afc7105532e13abdd5217314b3ae71e (patch) | |
| tree | eef3f670482fb1061f99ce12228f687051cca1c5 /src/JSON.js | |
| parent | 142cffcf64d2dce93089e9a73257bddf50e96990 (diff) | |
| download | angular.js-06835a462afc7105532e13abdd5217314b3ae71e.tar.bz2 | |
style($function): replace $function with 'function'
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 b0f72a1b..02c1a613 100644 --- a/src/JSON.js +++ b/src/JSON.js @@ -136,7 +136,7 @@ function toJsonArray(buf, obj, pretty, stack) { for ( var keyIndex = 0; keyIndex < keys.length; keyIndex++) { var key = keys[keyIndex]; var value = obj[key]; - if (typeof value != $function) { + if (!isFunction(value)) { if (comma) { buf.push(","); if (pretty) buf.push(pretty); |
