mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +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) {
|
||||
var compiler = new Compiler(angularTextMarkup, angularAttrMarkup, angularDirective, angularWidget),
|
||||
$element = jqLite(element);
|
||||
parent.$element = $element;
|
||||
return compiler.compile($element)($element, existingScope);
|
||||
}
|
||||
/////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in a new issue