summaryrefslogtreecommitdiff
path: root/js/lib/normalize-reference.js
AgeCommit message (Collapse)Author
2015-01-15eslint fixes.John MacFarlane
2015-01-15normalize-reference.js: disable eslint spacing warnings.John MacFarlane
2015-01-15Added normalize-reference.js.John MacFarlane
This does a proper unicode case fold instead of just using toUpperCase. It is also faster, partly because we can do one pass for space and case normalization. Modified from the NPM package fold-case; proper credit given in source and COPYING.