aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorVojta Jina2012-02-25 18:49:54 -0800
committerVojta Jina2012-02-25 18:49:54 -0800
commit5b0d0683584e304db30462f3448d9f090120c444 (patch)
tree2f037aa3a0a911014c1d194472d5e5bd9b3eca77 /src/Angular.js
parent230f29d0a78a04a6963514da8b1e34cc03e553d0 (diff)
downloadangular.js-5b0d0683584e304db30462f3448d9f090120c444.tar.bz2
fix($http): Do not serialize File object
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 87c10e23..fec866f5 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -417,6 +417,11 @@ function isScope(obj) {
}
+function isFile(obj) {
+ return toString.apply(obj) === '[object File]';
+}
+
+
function isBoolean(value) {return typeof value == $boolean;}
function isTextNode(node) {return nodeName_(node) == '#text';}