removed accidental assignment of $element to glabal space

This commit is contained in:
Misko Hevery 2010-09-06 07:46:28 -07:00
parent 9878355df7
commit 07699b1a70

View file

@ -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);
}
/////////////////////////////////////////////////