aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
authorMisko Hevery2012-03-15 22:18:06 -0700
committerMisko Hevery2012-03-19 11:35:10 -0700
commit9918b748be01266eb10db39d51b4d3098d54ab66 (patch)
tree41b9b46a1ac03bff7ec7e5d8027dd255e0c55ecc /src/Angular.js
parent6ecac8e71a84792a434d21db2c245b3648c55f18 (diff)
downloadangular.js-9918b748be01266eb10db39d51b4d3098d54ab66.tar.bz2
fix(compiler): allow transclusion of root elements
Fixed an issue where a directive that uses transclusion (such as ngRepeat) failed to link if it was declared on the root element of the compilation tree. (For example ngView or ngInclude including template where ngRepeat was the top most element).
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Angular.js b/src/Angular.js
index 0e9a98ef..3ce8e7df 100644
--- a/src/Angular.js
+++ b/src/Angular.js
@@ -936,7 +936,7 @@ function bindJQuery() {
JQLitePatchJQueryRemove('empty');
JQLitePatchJQueryRemove('html');
} else {
- jqLite = jqLiteWrap;
+ jqLite = JQLite;
}
angular.element = jqLite;
}