madrobby/zepto — pull request #616 by shalecraig (2012-10-17 07:46:10+00:00)
Title: Split polyfill

I basically changed the String.prototype.trim to a smaller version. I also added an attribution to MDN for using their String.prototype.trim.

Before my revision we *were* at:
Minified: 24.916k
Minified and gzipped: 9.080k, compression factor 5.599

Now, we're at:
Minified: 24.897k
Minified and gzipped: 9.080k, compression factor 5.608

If we were using Google's Closure compiler, we might be able to squeeze out another 1k from the non-gzipped version, because it assumes type-safety, and will do minifications like this one at compile-time.