lib/utils/common.js
function(text, pad) {
			var lines = this.splitByLines(text);
			var pl = pad.length;
			for (var i = 0, il = lines.length, line; i < il; i++) {
				line = lines[i];
				if (line.substr(0, pl) === pad) {
					lines[i] = line.substr(pl);
				}
			}
			
			return lines.join('\n');
		}
function(text, pad) {
			var lines = this.splitByLines(text);
			var pl = pad.length;
			for (var i = 0, il = lines.length, line; i < il; i++) {
				line = lines[i];
				if (line.substr(0, pl) === pad) {
					lines[i] = line.substr(pl);
				}
			}
			
			return lines.join('\n');
		}
function ( text , pad ) { var lines = this . splitByLines ( text ) ; var pl = pad . length ; for ( var i = 0 , il = lines . length , line ; i < il ; i ++ ) { line = lines [ i ] ; if ( line . substr ( 0 , pl ) === pad ) { lines [ i ] = line . substr ( pl ) ; } } return lines . join ( '\n' ) ; }
Removes padding at the beginning of each text's line
@param {String} text
@param {String} pad
Removes padding at the beginning of each text s line