News for hackers. Stuff that matters.
Re:An easier way of using polyfills by coldnebo on Thursday November 06, 2014 @02:52PM (#8569344)
I think we're saying that most modern polyfills do a feature check before installing the polyfill... thus if you use Chrome with an IE agent, the polyfill still checks before implementing -- it's just a little slower than not installing the polyfill to begin with. Anyway, given the percentage of people who do this, UA detection seems like an acceptable tradeoff.
Re:An easier way of using polyfills by ben336 on Thursday November 06, 2014 @02:57PM (#8569382)
Agreed, feature detecting afterwards makes sense. Others seem to be suggesting feature detecting before requesting the polyfill script.