From be76bf3d232d57a86e3fced0e73defb8aef37fbf Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sat, 24 Mar 2012 12:48:16 -0400 Subject: classList polyfill included for ie9 --- lib/classList.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lib/classList.js (limited to 'lib/classList.js') diff --git a/lib/classList.js b/lib/classList.js new file mode 100644 index 0000000..1bb626d --- /dev/null +++ b/lib/classList.js @@ -0,0 +1,3 @@ +// classList polyfill from https://github.com/remy/polyfills/blob/master/classList.js +(function(){function c(a){this._element=a;if(a.className!=this.classCache){this._classCache=a.className;var a=this._classCache.split(" "),b;for(b=0;b