fix ie for jquery

This commit is contained in:
Misko Hevery
2010-04-26 17:02:27 -07:00
parent 2a7cd9f390
commit b275403465
2 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ describe('compiler', function(){
};
textMarkup.push(function(text, textNode, parent){
if (text == '{{1+2}}')
textNode.text('3');
parent.text('3');
});
var scope = compile('<div><h1>ignore me</h1></div>');
expect(scope.$element.text()).toEqual('3');