File tree Expand file tree Collapse file tree 3 files changed +256
-137
lines changed
Expand file tree Collapse file tree 3 files changed +256
-137
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function longestKeyLength(obj) {
2424// - at the end of a line
2525// - followed by whitespace
2626// - followed by a punctuation character
27- // REGEX NOTE: word boundary \b doesn't work well with unicode
27+ // REGEX NOTE: word boundary \b doesn't work well with Unicode
2828function sigmaToEndOfWordSigma ( string ) {
2929 return string . replace ( / σ (? = [ , . : ; · \s ] | $ ) / g, 'ς' ) ;
3030}
@@ -100,8 +100,8 @@ function betaCodeToGreek(betaCode, customMap) {
100100 newStart = start + 1 ;
101101 maxLength = min ( betaCodeCharacters . length , start + maxBetaCodeCharacterLength ) ;
102102
103- // match the longest possible substring that's valid beta code , from left to right
104- // for example 'e)' is valid beta code (ἐ) but 'e)/' is also valid beta code (ἕ)
103+ // match the longest possible substring that's valid Beta Code , from left to right
104+ // for example 'e)' is valid Beta Code (ἐ) but 'e)/' is also valid Beta Code (ἕ)
105105 // the string 'e)/' should be interpreted as 'e)/' and not as 'e)' + '/'
106106 for ( end = newStart ; end <= maxLength ; end += 1 ) {
107107 slice = betaCodeCharacters . slice ( start , end ) . join ( '' ) ;
Original file line number Diff line number Diff line change 2424 ],
2525 "license" : " MIT" ,
2626 "devDependencies" : {
27- "browserify" : " ^16.5.0 " ,
27+ "browserify" : " ^16.5.1 " ,
2828 "chai" : " ^4.2.0" ,
2929 "eslint" : " ^6.8.0" ,
30- "eslint-config-airbnb-base" : " ^14.0 .0" ,
31- "eslint-plugin-import" : " ^2.20.1 " ,
32- "mocha" : " ^6.2.0 "
30+ "eslint-config-airbnb-base" : " ^14.1 .0" ,
31+ "eslint-plugin-import" : " ^2.20.2 " ,
32+ "mocha" : " ^7.1.1 "
3333 }
3434}
You can’t perform that action at this time.
0 commit comments