mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-05 05:34:43 +00:00
fix failing autobind test on IE
This commit is contained in:
parent
9d5c533791
commit
d304b0c3df
1 changed files with 3 additions and 0 deletions
|
|
@ -396,6 +396,9 @@ describe('angular', function(){
|
||||||
}
|
}
|
||||||
|
|
||||||
angularInit({autobind: 'child'}, dom);
|
angularInit({autobind: 'child'}, dom);
|
||||||
|
|
||||||
|
delete dom.getElementById; //make IE and sortedHtml happy
|
||||||
|
|
||||||
expect(sortedHtml(dom)).toEqual('<div foo="{{1+2}}">{{2+3}}' +
|
expect(sortedHtml(dom)).toEqual('<div foo="{{1+2}}">{{2+3}}' +
|
||||||
'<div bar="7" id="child" ng:bind-attr="{"bar":"{{3+4}}"}">'+
|
'<div bar="7" id="child" ng:bind-attr="{"bar":"{{3+4}}"}">'+
|
||||||
'<span ng:bind="4+5">9</span>' +
|
'<span ng:bind="4+5">9</span>' +
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue