madkixt / base2

Automatically exported from code.google.com/p/base2
0 stars 0 forks source link

Consider relying on HTML ClassList API #145

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. addClass, RemoveClass and toggleClass are part of the ClassList spec

What is the expected output? What do you see instead?
i.e
element.classList.addClass('myClass') throws an error in non supported 
browsers. Instead you must write:
element.addClass('myClass') that is not standard.

Further info:
https://developer.mozilla.org/en/DOM/element.classList

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by andres.g...@zemoga.com on 9 Apr 2012 at 3:49