remy/polyfills
JavaScriptCollection of polyfills that I've written
polyfillsjavascriptbrowser
주요 지표
스타 성장
스타
1.1k
포크
165
주간 성장
+0
이슈
14
5001k
2011년 2월2013년 9월2016년 4월2018년 12월2021년 7월2024년 3월2026년 10월
아티팩트npm
README
Polyfills
A way of getting the browser to behave and support the latest specifications.
This is my own collection of code snippets that support different native features of browsers using JavaScript (and if required, Flash in some cases).
Component Installation
You can install polyfills using component:
component install remy/polyfills
If you'd like to include all polyfills (except device motion), you can just:
require( 'polyfills' );
If you'd only like a specific polyfill, you can require indivual ones like this:
require( 'polyfills/classList' );
// now we can use classList in lots of browsers!
element.classList.add( 'foo' );
License
License: http://rem.mit-license.org