Comparing version 0.0.2 to 0.0.3
@@ -12,3 +12,3 @@ (function(){ | ||
} | ||
function toHalfwidth(x){ | ||
function toHalfwidth(it){ | ||
return unorm.nfd(it + "").replace(/\u3000/g, ' ').replace(/[\uFF01-\uFF5E]/g, function(it){ | ||
@@ -15,0 +15,0 @@ return String.fromCharCode(it.charCodeAt(0) - 0xFEE0); |
{ | ||
"name": "uax11", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "description": "Convert between full/half-width ASCII characters", |
Sorry, the diff of this file is not supported yet
37
3356