mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 12:33:37 +08:00
removed accidental assignment of $element to glabal space
This commit is contained in:
@@ -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);
|
||||
}
|
||||
/////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user