aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeff Cross2013-08-02 09:21:33 -0700
committerJeff Cross2013-08-09 10:19:41 -0700
commit0b114fd3e1ce4cc120663222f2dfb34ee5dbda4c (patch)
tree1330fc8161d804d6c2ebffe6a76f8e0da3cb5cde /src
parent61cb4085d421060edfb98d7eae0a43b615542843 (diff)
downloadangular.js-0b114fd3e1ce4cc120663222f2dfb34ee5dbda4c.tar.bz2
fix(docs-bootstrap): Removed injector from bootstrapped docs samples
This is necessary to make e2e tests pass for implementing #3411. At present, the docs are violating the rule being enforced by double-bootstrap prevention.
Diffstat (limited to 'src')
-rw-r--r--src/jqLite.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jqLite.js b/src/jqLite.js
index 6ac99987..4a52cba0 100644
--- a/src/jqLite.js
+++ b/src/jqLite.js
@@ -330,7 +330,7 @@ function JQLiteInheritedData(element, name, value) {
}
while (element.length) {
- if (value = element.data(name)) return value;
+ if ((value = element.data(name)) !== undefined) return value;
element = element.parent();
}
}