aboutsummaryrefslogtreecommitdiffstats
path: root/test/CompilerSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2010-04-26 17:02:27 -0700
committerMisko Hevery2010-04-26 17:02:27 -0700
commitb275403465cdc581804bc74bf12e243edd642a42 (patch)
tree242c0c85f76b0fb0355b50957f4df79b57194484 /test/CompilerSpec.js
parent2a7cd9f39089af08ff42be6fb247116c35e2d345 (diff)
downloadangular.js-b275403465cdc581804bc74bf12e243edd642a42.tar.bz2
fix ie for jquery
Diffstat (limited to 'test/CompilerSpec.js')
-rw-r--r--test/CompilerSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CompilerSpec.js b/test/CompilerSpec.js
index 2e1ae4ae..da354ea5 100644
--- a/test/CompilerSpec.js
+++ b/test/CompilerSpec.js
@@ -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');