-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0.0 #62
2.0.0 #62
Conversation
367413d
to
b4ecff2
Compare
} | ||
|
||
var uses = document.getElementsByTagName('use'); | ||
var requestAnimationFrame = window.requestAnimationFrame || window.setTimeout; |
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.
Where would I save them in the script?
I think we should consider #45. The |
718a060
to
a39d276
Compare
cee1e5e
to
baa0f44
Compare
Looking great @jonathantneal. Is it working on all the IEs so far? The only thing is that seems like you created files within |
baa0f44
to
c20d378
Compare
7270d96
to
f0157be
Compare
2ca3265
to
012a98b
Compare
It would be great to get this merged. Is there anything else holding up the release? |
@shaneog, no. I pinged my coworkers yesterday to review it, and they only recommended I change the name of a few new APIs. Today I pinged my IRC friends and it came back with all thumbs up. It’s 10:30AM where I am. Pending no further changes, I’ll handle the merge, tweet, etc. on my lunch break. |
Thanks @jonathantneal. |
Added: UMD pattern and `svg4everybody` method to activate shim Added: Grunt build process Added: Option to remove legacy code from Grunt Added: Option to manually shim SVG or External Content from the browser Added: Option to customize PNG fallback from the browser Updated: SVG External Content feature-deficient browser detection Updated: Exclusive activation on '<use>' children of '<svg>' Updated: Preservation of existing `viewbox` attribute for SVGs Updated: Preservation of existing `width` and `height` attributes for PNG fallbacks Updated: Many performance improvements for caching, AJAX, and polling
012a98b
to
e546be4
Compare
I had some comments sorry I was too busy at work. I'll add them later and before you tag the release :) cheers! |
} | ||
|
||
var polyfill = 'polyfill' in opts ? opts.polyfill : LEGACY_SUPPORT ? ( | ||
nosvg || /\bEdge\/12\b|\bMSIE [1-8]\b|\bTrident\/[567]\b|\bVersion\/7.0 Safari\b/.test(navigator.userAgent) || (navigator.userAgent.match(/AppleWebKit\/(\d+)/) || [])[1] < 537 |
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.
There duplication on this area, which could be reduced in bytes if saved in a variable.
svg4everybody
method to activate shimviewbox
attribute for SVGswidth
andheight
attributes for PNG fallbacks