Comparing version 0.5.0 to 0.6.0
{ "name": "slug" | ||
, "description": "slugifies even utf-8 chars!" | ||
, "version": "0.5.0" | ||
, "version": "0.6.0" | ||
, "homepage": "https://github.com/dodo/node-slug" | ||
@@ -18,2 +18,4 @@ , "author": "dodo (https://github.com/dodo)" | ||
"coffee-script": "~1.7.1"} | ||
, "bin": { | ||
"slug": "bin/slug.js"} | ||
, "licenses" : [ | ||
@@ -20,0 +22,0 @@ { "type": "MIT" , |
11
slug.js
@@ -96,8 +96,12 @@ (function (root) { | ||
'ą':'a', 'ć':'c', 'ę':'e', 'ł':'l', 'ń':'n', 'ś':'s', 'ź':'z', | ||
'ż':'z', 'Ą':'A', 'Ć':'C', 'Ę':'e', 'Ł':'L', 'Ń':'N', 'Ś':'S', | ||
'ż':'z', 'Ą':'A', 'Ć':'C', 'Ę':'E', 'Ł':'L', 'Ń':'N', 'Ś':'S', | ||
'Ź':'Z', 'Ż':'Z', | ||
// latvian | ||
'ā':'a', 'ē':'e', 'ģ':'g', 'ī':'i', 'ķ':'k', 'ļ':'l', 'ņ':'n', | ||
'ū':'u', 'Ā':'A', 'Ē':'E', 'Ģ':'G', 'Ī':'i', | ||
'Ķ':'k', 'Ļ':'L', 'Ņ':'N', 'Ū':'u', | ||
'ū':'u', 'Ā':'A', 'Ē':'E', 'Ģ':'G', 'Ī':'I', | ||
'Ķ':'K', 'Ļ':'L', 'Ņ':'N', 'Ū':'U', | ||
// lithuanian | ||
'ė':'e', 'į':'i', 'ų':'u', 'Ė': 'E', 'Į': 'I', 'Ų':'U', | ||
// romanian | ||
'ț':'t', 'Ț':'T', 'ţ':'t', 'Ţ':'T', 'ș':'s', 'Ș':'S', 'ă':'a', 'Ă':'A', | ||
// currency | ||
@@ -122,2 +126,3 @@ '€': 'euro', '₢': 'cruzeiro', '₣': 'french franc', '£': 'pound', | ||
if (typeof define !== 'undefined' && define.amd) { // AMD | ||
slug.defaults.symbols = false; // dont load symbols table in the browser | ||
define([], function () {return slug}); | ||
@@ -124,0 +129,0 @@ } else if (typeof module !== 'undefined' && module.exports) { // CommonJS |
Sorry, the diff of this file is not supported yet
19536
10
163