dbushell/Socialite — pull request #23 by IDisposable (2012-06-08 20:24:07+00:00)
Title: Added trim() in removeClass to prevent space creep in el.className

Added trim() in removeClass to handle the case when it is called against a non-empty el.className set that does NOT include the to-be-removed class. Without this, spaces will be left on the front and back of the el.className. Since this is a frameworkless project, added String.prototype.trim if not native.