monterail/rules — pull request #4 by jandudulski (2012-10-24 13:38:00+00:00)
Title: Classes are for designers so use data-behavior

Roy Tomeij introduced the suggestion (http://roytomeij.com/2012/dont-use-class-names-to-find-HTML-elements-with-JS.html) to replace classes with data-* attribute for JavaScript selectors. Last time he also brought some numbers about performance (http://roytomeij.com/2012/follow-up-don-t-use-class-names-to-find-html-elements-with-js.html). If that doesn't convince you read why classes are for designers and data-behavior for javascript developers (http://blog.bigbinary.com/2012/10/10/data-behavior.html).