aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorMisko Hevery2010-09-21 19:20:34 +0200
committerMisko Hevery2010-09-21 19:20:34 +0200
commit006fd2ca252400e87a419b929e00ea0277ff86ad (patch)
treefcf3c021aa5c1e95dc2a43cc0d3f019b541d3ce5 /src/Angular.js
parent125d725e7dcd76b838925ac997b35afad4266752 (diff)
downloadangular.js-006fd2ca252400e87a419b929e00ea0277ff86ad.tar.bz2
HEAD is now at 10c0151 Fixes on issue when a SELECT has OPTION which are data bound (ie OPTION has repeater or OPTION.value is bound), then SELECT does not update to match the correct OPTION after the change in model (ie after the OPTION repeater unrolls or OPTION.value is changed.)
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 7ea43c98..ef1187f2 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -124,9 +124,9 @@ function jqLiteWrap(element) {
}
function isUndefined(value){ return typeof value == $undefined; }
function isDefined(value){ return typeof value != $undefined; }
-function isObject(value){ return value!=_null && typeof value == 'object';}
-function isString(value){ return typeof value == 'string';}
-function isNumber(value){ return typeof value == 'number';}
+function isObject(value){ return value!=_null && typeof value == $object;}
+function isString(value){ return typeof value == $string;}
+function isNumber(value){ return typeof value == $number;}
function isArray(value) { return value instanceof Array; }
function isFunction(value){ return typeof value == $function;}
function isTextNode(node) { return nodeName(node) == '#text'; }