▲ Classwrap – Alternative to Classnames with Support for BEM-Namespacing at github.com▼19 up and 2 down, posted by jbucaran 2621 days ago 3 comments
bruno-c 2621 days ago. link 3 points ▲ ▼> It differs from classnames in that it does not accept variable arguments. Can't that be allowed with one line change? It would basically be a drop-in replacement.
davej 2618 days ago. link 2 points ▲ ▼I assume this is where some of the performance gains comes from. JS engines create `arguments` on-demand when needed, it's expensive (relative to just passing in an array). http://webreflection.blogspot.ie/2010/02/arguments-callee-call-and-apply.html