Changes between Initial Version and Version 1 of Ticket #5087, comment 50
- Timestamp:
- Mar 8, 2013, 7:14:22 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5087, comment 50
initial v1 1 I've justcreated a plugin that replaces .hasClass, .addClass and .removeClass with versions that use element.classList if available, and which fallback to the original functions for the more unusual cases (i.e. multiple classes, function parameters, etc).1 I've also created a plugin that replaces .hasClass, .addClass and .removeClass with versions that use element.classList if available, and which fallback to the original functions for the more unusual cases (i.e. multiple classes, function parameters, etc). 2 2 3 3 https://gist.github.com/raybellis/5115997