heyday/dom-class — pull request #2 by camspiers (2013-08-07 09:14:08+00:00)
Title: UPDATE: Use single replace instead of two

It is slightly faster and saves bytes :)

http://jsperf.com/trim-replace-replace-vs-replace