ondras/oz.js — pull request #1 by bkutil (2013-05-19 07:06:03+00:00)
Title: Use classList for CSS class ops where available

Instead of parsing the class attribute string, check whether classList
is defined for documentElement and use the native functions for class
existence test, addition and removal.

This yields significant speed improvements as can be seen here:

http://jsperf.com/oz-js-class-ops-test