-
Notifications
You must be signed in to change notification settings - Fork 27.4k
refactor(ngSanitize) Remove workarounds for IE8 #10758
Conversation
56372a8
to
5405cbe
Compare
What do you mean by "better tests"? I assume you removed those tests that were testing the IE8 specific functions? |
@Narretz Yes, I removed those testing IE8 specific workarounds and added some tests to tests the general functionality - otherwise there would have been no tests left. |
Okay, then you should split this into commits - the first includes the new tests, the second removes all IE8 stuff. |
5405cbe
to
1818c4c
Compare
@Narretz done |
ed6b9a6
to
12af2b2
Compare
@Narretz The only failed job seems to be related to saucelabs. Can this be merged? |
Hi, sorry for the late response. I have another very small nitpick: our commit messages have a @petebacondarwin are you okay with removing this IE8 workaround? |
12af2b2
to
12db51a
Compare
@Narretz Heh, never noticed that. Fixed now. |
@realityking - more commit message nitpicking :-) We don't capitalize the first letter of the description. That being said, I am happy to help strip out unnecessary code from the codebase and get this in. |
afterEach(function() { | ||
window.hiddenPre = origHiddenPre; | ||
it('should unescape text', function() { | ||
htmlParser('a<div>&</div>c', handler) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing semi-colon
It is always good to run |
@petebacondarwin I always run |
Also provides better tests.