code: function(text, removeEmpty) {
  			// IE fails to split string by regexp, 
  			// need to normalize newlines first
  			// Also, Mozilla's Rhiho JS engine has a weird newline bug
  			var nl = '\n';
  			var lines = (text || '')
  				.replace(/\r\n/g, '\n')
  				.replace(/\n\r/g, '\n')
  				.replace(/\r/g, '\n')
  				.replace(/\n/g, nl)
  				.split(nl);
  			
  			if (removeEmpty) {
  				lines = lines.filter(function(line) {
  					return line.length && !!this.trim(line);
  				}, this);
  			}
  			
  			return lines;
  		}
docs: Split text into lines. Set <code>remove_empty</code> to true to filter
  empty lines
  @param {String} text Text to split
  @param {Boolean} removeEmpty Remove empty lines from result
  @return {Array}