From ecdd8844433c366624e4398591d4a53b74f17e8b Mon Sep 17 00:00:00 2001 From: madflow Date: Wed, 23 Dec 2015 09:46:46 +0100 Subject: [PATCH] Speakingurl 7.0 --- bower.json | 4 ++-- dist/slugify.js | 2 +- dist/slugify.min.js | 2 +- package.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bower.json b/bower.json index 7f30632..970e95c 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "jquery-slugify", - "version": "1.2.2", + "version": "1.2.3", "homepage": "https://github.com/madflow/jquery-slugify", "authors": [ "madflow" @@ -14,7 +14,7 @@ ], "dependencies": { "jquery": ">=1.7", - "speakingurl": "~6.0.0" + "speakingurl": "~7.0.0" }, "license": "MIT", "ignore": [ diff --git a/dist/slugify.js b/dist/slugify.js index 2f378d2..6965fae 100644 --- a/dist/slugify.js +++ b/dist/slugify.js @@ -1,4 +1,4 @@ -/*! jquery-slugify - v1.2.2 - 2015-10-16 +/*! jquery-slugify - v1.2.3 - 2015-12-23 * Copyright (c) 2015 madflow; Licensed */ ;(function($) { diff --git a/dist/slugify.min.js b/dist/slugify.min.js index e5ed517..0bc0403 100644 --- a/dist/slugify.min.js +++ b/dist/slugify.min.js @@ -1,3 +1,3 @@ -/*! jquery-slugify - v1.2.2 - 2015-10-16 +/*! jquery-slugify - v1.2.3 - 2015-12-23 * Copyright (c) 2015 madflow; Licensed */ !function(a){a.fn.slugify=function(b,c){return this.each(function(){var d=a(this),e=a(b);d.on("keyup change",function(){""!==d.val()&&void 0!==d.val()?d.data("locked",!0):d.data("locked",!1)}),e.on("keyup change",function(){!0!==d.data("locked")&&(d.is("input")||d.is("textarea")?d.val(a.slugify(e.val(),c)):d.text(a.slugify(e.val(),c)))})})},a.slugify=function(b,c){return c=a.extend({},a.slugify.options,c),c.lang=c.lang||a("html").prop("lang"),"function"==typeof c.preSlug&&(b=c.preSlug(b)),b=c.slugFunc(b,c),"function"==typeof c.postSlug&&(b=c.postSlug(b)),b},a.slugify.options={preSlug:null,postSlug:null,slugFunc:function(a,b){return window.getSlug(a,b)}}}(jQuery); \ No newline at end of file diff --git a/package.json b/package.json index 224d13f..03ae64d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "jquery-slugify", "filename": "slugify", "description": "Just another another (another) url slug plugin for jQuery", - "version": "1.2.2", + "version": "1.2.3", "main": "dist/slugify.min.js", "author": { "name": "madflow", @@ -36,6 +36,6 @@ "grunt-contrib-watch": "~0.6.1" }, "dependencies": { - "speakingurl": "^6.0.0" + "speakingurl": "^7.0.0" } }