aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorVojta Jina2010-11-05 23:14:44 +0000
committerIgor Minar2010-11-05 21:39:00 -0700
commit5be325a0c1a660268d29541bc668d9cb7d641fcb (patch)
tree927c0672c68a1fcacf594d8acee8ffdf0f864940 /src/Angular.js
parentb7027b9d8755604799781313e9bbd8eee72fc4f4 (diff)
downloadangular.js-5be325a0c1a660268d29541bc668d9cb7d641fcb.tar.bz2
Refactored toJsonArray(), added isBoolean() function
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 9177853a..dbd662ce 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -312,6 +312,7 @@ 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 isBoolean(value) { return typeof value == $boolean;}
function isTextNode(node) { return nodeName(node) == '#text'; }
function trim(value) { return isString(value) ? value.replace(/^\s*/, '').replace(/\s*$/, '') : value; }
function isElement(node) {