Commit graph

2 commits

Author SHA1 Message Date
Cyrus Najmabadi 9ae0815e21 Treat 0x0085 as whitespace, not as a line terminator. This matches ES5 and ES6. 2015-03-20 16:53:47 -07:00
Sheetal Nandi c2b78ead05 Handles all the line breaks in calculation of line-character position
lineFeed = 0x0A,              // \n
        carriageReturn = 0x0D,        // \r
        lineSeparator = 0x2028,
        paragraphSeparator = 0x2029,
        nextLine = 0x0085,

Fixes #131
2014-08-29 17:27:47 -07:00