mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-05 05:34:43 +00:00
removed accidental assignment of $element to glabal space
This commit is contained in:
parent
9878355df7
commit
07699b1a70
1 changed files with 0 additions and 1 deletions
|
|
@ -350,7 +350,6 @@ function merge(src, dst) {
|
||||||
function compile(element, existingScope) {
|
function compile(element, existingScope) {
|
||||||
var compiler = new Compiler(angularTextMarkup, angularAttrMarkup, angularDirective, angularWidget),
|
var compiler = new Compiler(angularTextMarkup, angularAttrMarkup, angularDirective, angularWidget),
|
||||||
$element = jqLite(element);
|
$element = jqLite(element);
|
||||||
parent.$element = $element;
|
|
||||||
return compiler.compile($element)($element, existingScope);
|
return compiler.compile($element)($element, existingScope);
|
||||||
}
|
}
|
||||||
/////////////////////////////////////////////////
|
/////////////////////////////////////////////////
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue