Closed enna closed 9 years ago
Have you some very old browser failing on that?
(that comma is totally valid JavaScript)
Indeed, it works on ES5 browsers. There are many valid things in JavaScript that are not right to do, but good practices are subjective and this is your lib.
It's not technically mine, I'm just a collaborator. Ping @walling :)
Btw. you can link directly to the line (click the line number). Then if you press y, you get the link to the actual commit (url in the address bar changes): https://github.com/walling/unorm/blob/d5465c78933597e268a4606b5c9501789d892d07/lib/unorm.js#L383 #pro-tip
Ok. Thanks for the tip. :)
Hello,
This is a minor issue. In the unorm.js file, there is an unexpected comma after the last property of the unorm object. It is at line 383 in the current version on master branch : https://github.com/walling/unorm/blob/master/lib/unorm.js
Thanks :)