aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorMisko Hevery2010-03-22 21:29:57 -0700
committerMisko Hevery2010-03-22 21:29:57 -0700
commit6ff550cfa9524bbb124d10caf1fc13c911ab3b4b (patch)
treed76902a8bd2bac2d2064daee7e605ed59e625179 /src/Angular.js
parenta8227086748e37c31c1bb71dec50c96d63c45eef (diff)
downloadangular.js-6ff550cfa9524bbb124d10caf1fc13c911ab3b4b.tar.bz2
all angular.js directives now work
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 1549e7a7..ce1038cc 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -53,17 +53,11 @@ var isVisible = isVisible || function (element) {
return jQuery(element).is(":visible");
};
-function isDefined(value){
- return typeof value != 'undefined';
-}
-
-function isObject(value){
- return typeof value == 'object';
-}
-
-function isFunction(value){
- return typeof value == 'function';
-}
+function isDefined(value){ return typeof value != 'undefined'; }
+function isObject(value){ return typeof value == 'object';}
+function isString(value){ return typeof value == 'string';}
+function isArray(value) { return value instanceof Array; }
+function isFunction(value){ return typeof value == 'function';}
function log(a, b, c){
var console = window['console'];