build/modelscript.umd.js
function(data, param) {
              var eol = getEol(data,param);
              var lines = data.split(eol);
              var partial = lines.pop();
              return {lines: lines, partial: partial};
            }
function(data, param) {
              var eol = getEol(data,param);
              var lines = data.split(eol);
              var partial = lines.pop();
              return {lines: lines, partial: partial};
            }
function ( data , param ) { var eol = getEol ( data , param ) ; var lines = data . split ( eol ) ; var partial = lines . pop ( ) ; return { lines : lines , partial : partial } ; }
convert data chunk to file lines array
@param  {string} data  data chunk as utf8 string
@param  {object} param Converter param object
@return {Object}   {lines:[line1,line2...],partial:String}
convert data chunk to file lines array