visionmedia/jade — comment on commit 2dab77276d8e6d9e1639f74a064bd7e2d2b05667
File:  line 0
By DBJDBJ:

Here is better trim

if ( "function" !== String.prototype.trim )
String.prototype.trim = function ()
{
return this.replace(/^\s*(\S*(\s+\S+)*)\s*$/, "$1");
};