diff options
| author | Vojta Jina | 2011-06-17 22:48:22 +0200 | 
|---|---|---|
| committer | Vojta Jina | 2011-06-17 22:48:22 +0200 | 
| commit | d0edc117045eb1252116e64a1df5c094ab6c2c54 (patch) | |
| tree | 0fbc6245765cbec479ba9551ef68809eafbaf4c5 /test/CompilerSpec.js | |
| parent | f9f0905f4ad7b1d0bb9b606a6d25fb1f88354a78 (diff) | |
| download | angular.js-d0edc117045eb1252116e64a1df5c094ab6c2c54.tar.bz2 | |
Fix failing unit tests in IE7 (Binder, select widget)
The fix does not change any production code, we only need to ignore couple of attributes that IE7 should not display:
* value attribute for LI
* selected attribut for SELECT
Simplified condition in compiler test, this should have been part of f9f0905f4ad7b1d0bb9b606a6d25fb1f88354a78
Diffstat (limited to 'test/CompilerSpec.js')
| -rw-r--r-- | test/CompilerSpec.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/test/CompilerSpec.js b/test/CompilerSpec.js index 7e636ec1..95f0be4c 100644 --- a/test/CompilerSpec.js +++ b/test/CompilerSpec.js @@ -40,7 +40,7 @@ describe('compiler', function(){        compiler.compile('<div>A</div><span></span>');      }).toThrow("Cannot compile multiple element roots: " + ie("<div>A</div><span></span>"));      function ie(text) { -      return msie && msie < 9 ? uppercase(text) : text; +      return msie < 9 ? uppercase(text) : text;      }    }); | 
