Skip to content

Conversation

imbalind
Copy link
Contributor

@imbalind imbalind commented Nov 4, 2015

This is a fix for the Windows 10 users. Instead of using .match we
use .search which runs a boolean value. I noticed you guys were
trying to get the exact version of IE and that isn’t going to work for
Windows 10 users. I instead use the boolean value later to see if we
are even in IE. the navigator.msSaveBlob is a function in IE 10+ and
Edge so knowing that I can call that first and IE9 might possibly not
blow up. I haven’t gotten to officially test IE9 yet. If anything, this
PR is strictly a proof of concept. Feel free to message me with any
questions!

This is a fix for the Windows 10 users. Instead of using `.match` we use `.search` which runs a boolean value. I noticed you guys were trying to get the exact version of IE and that isn’t going to work for Windows 10 users. I instead use the boolean value later to see if we are even in IE. the `navigator.msSaveBlob` is a function in IE 10+ and Edge so knowing that I can call that first and IE9 might possibly not blow up. I haven’t gotten to officially test IE9 yet. If anything, this PR is strictly a proof of concept. Feel free to message me with any questions!
swalters added a commit that referenced this pull request Nov 12, 2015
Fix For Windows 10 Exporter
@swalters swalters merged commit e0cf819 into angular-ui:master Nov 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants