Comparing version 0.3.1 to 0.3.2
@@ -362,4 +362,5 @@ (function() { | ||
char = string[i]; | ||
code = string.charCodeAt(i); | ||
if (opts.charmap[char]) { | ||
if (!opts.charmap[char]) { | ||
code = string.charCodeAt(i); | ||
} else { | ||
char = opts.charmap[char]; | ||
@@ -366,0 +367,0 @@ code = char.charCodeAt(0); |
{ "name": "slug" | ||
, "description": "slugifies even utf-8 chars!" | ||
, "version": "0.3.1" | ||
, "version": "0.3.2" | ||
, "homepage": "https://github.com/dodo/node-slug" | ||
@@ -5,0 +5,0 @@ , "author": "dodo (https://github.com/dodo)" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15663
382