diff options
Diffstat (limited to 'src/Angular.js')
| -rw-r--r-- | src/Angular.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Angular.js b/src/Angular.js index a91bf04c..b2949646 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -52,9 +52,7 @@ if ('i' !== 'I'.toLowerCase()) { function fromCharCode(code) { return String.fromCharCode(code); } -var _undefined = undefined, - _null = null, - $$element = '$element', +var $$element = '$element', $$update = '$update', $$scope = '$scope', $$validate = '$validate', @@ -315,7 +313,7 @@ function isDefined(value){ return typeof value != $undefined; } * @param {*} value Reference to check. * @returns {boolean} True if `value` is an `Object` but not `null`. */ -function isObject(value){ return value!=_null && typeof value == $object;} +function isObject(value){ return value!=null && typeof value == $object;} /** |
