From bb8ffc75003f5ae0ebb907fa746bbb37e865259a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20Mui=C3=B1o?= Date: Thu, 14 Nov 2013 14:25:37 +0100 Subject: [PATCH 01/42] Make change event always fire as the user interacts with the knob: - touch - wheel - typing (by binding to the "input" event) Previously, typing did not update the knob until focus was lost (and no change event was fired), and using the keyboard arrows did not fire any change events. Also move event triggering to val() and change() so it works always in the same way and less duplication exists. --- js/jquery.knob.js | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) diff --git a/js/jquery.knob.js b/js/jquery.knob.js index d6fa7b7..a7f5453 100755 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -141,7 +141,7 @@ s.v[k] = $this.val(); $this.bind( - 'change' + 'change input' , function () { var val = {}; val[k] = $this.val(); @@ -159,7 +159,7 @@ (this.v == '') && (this.v = this.o.min); this.$.bind( - 'change' + 'change input' , function () { s.val(s._validate(s.$.val())); } @@ -302,15 +302,6 @@ e.originalEvent.touches[s.t].pageX, e.originalEvent.touches[s.t].pageY ); - - if (v == s.cv) return; - - if ( - s.cH - && (s.cH(v) === false) - ) return; - - s.change(s._validate(v)); s._draw(); }; @@ -345,13 +336,6 @@ var mouseMove = function (e) { var v = s.xy2val(e.pageX, e.pageY); - if (v == s.cv) return; - - if ( - s.cH - && (s.cH(v) === false) - ) return; - s.change(s._validate(v)); s._draw(); }; @@ -516,7 +500,13 @@ this.val = function (v) { if (null != v) { - this.cv = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v; + var newValue = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v; + if (newValue == this.cv) return; + this.cv = newValue; + if ( + this.cH + && (this.cH(this.cv) === false) + ) return; this.v = this.cv; this.$.val(this.v); this._draw(); @@ -558,12 +548,6 @@ ,deltaX = ori.detail || ori.wheelDeltaX ,deltaY = ori.detail || ori.wheelDeltaY ,v = parseInt(s.$.val()) + (deltaX>0 || deltaY>0 ? s.o.step : deltaX<0 || deltaY<0 ? -s.o.step : 0); - - if ( - s.cH - && (s.cH(v) === false) - ) return; - s.val(v); } , kval, to, m = 1, kv = {37:-s.o.step, 38:s.o.step, 39:s.o.step, 40:-s.o.step}; @@ -691,7 +675,12 @@ }; this.change = function (v) { + if (v == this.cv) return; this.cv = v; + if ( + this.cH + && (this.cH(v) === false) + ) return; this.$.val(v); }; From d3fef4c2eca256c3b8813aae590e8d5676df8cf2 Mon Sep 17 00:00:00 2001 From: aterrien Date: Mon, 18 Nov 2013 22:32:27 +0100 Subject: [PATCH 02/42] Workaround for #56 #97 --- README.md | 4 +++- js/jquery.knob.js | 2 +- secretplan.jpg | Bin 3 files changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 secretplan.jpg diff --git a/README.md b/README.md index 05006fa..da0dd70 100755 --- a/README.md +++ b/README.md @@ -129,4 +129,6 @@ Set the value Supported browser ------- -Tested on Chrome, Safari, Firefox, IE 9.0. \ No newline at end of file +Tested on Chrome, Safari, Firefox, IE 9.0. + +![secretplan](https://raw.github.com/aterrien/jQuery-Knob/master/secretplan.jpg) \ No newline at end of file diff --git a/js/jquery.knob.js b/js/jquery.knob.js index d6fa7b7..276fa1b 100755 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -718,7 +718,7 @@ c.beginPath(); c.strokeStyle = this.o.bgColor; - c.arc(this.xy, this.xy, this.radius, this.endAngle, this.startAngle, true); + c.arc(this.xy, this.xy, this.radius, this.endAngle - 0.00001, this.startAngle + 0.00001, true); c.stroke(); if (this.o.displayPrevious) { diff --git a/secretplan.jpg b/secretplan.jpg old mode 100644 new mode 100755 From ec052922f12517cda89217fe86e2761b11d6b5e5 Mon Sep 17 00:00:00 2001 From: aterrien Date: Wed, 20 Nov 2013 00:08:03 +0100 Subject: [PATCH 03/42] Revert fix regression since #140 --- js/jquery.knob.js | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 091a52b..376a138 100755 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -141,7 +141,7 @@ s.v[k] = $this.val(); $this.bind( - 'change input' + 'change' , function () { var val = {}; val[k] = $this.val(); @@ -159,7 +159,7 @@ (this.v == '') && (this.v = this.o.min); this.$.bind( - 'change input' + 'change' , function () { s.val(s._validate(s.$.val())); } @@ -302,6 +302,15 @@ e.originalEvent.touches[s.t].pageX, e.originalEvent.touches[s.t].pageY ); + + if (v == s.cv) return; + + if ( + s.cH + && (s.cH(v) === false) + ) return; + + s.change(s._validate(v)); s._draw(); }; @@ -336,6 +345,13 @@ var mouseMove = function (e) { var v = s.xy2val(e.pageX, e.pageY); + if (v == s.cv) return; + + if ( + s.cH + && (s.cH(v) === false) + ) return; + s.change(s._validate(v)); s._draw(); }; @@ -500,13 +516,7 @@ this.val = function (v) { if (null != v) { - var newValue = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v; - if (newValue == this.cv) return; - this.cv = newValue; - if ( - this.cH - && (this.cH(this.cv) === false) - ) return; + this.cv = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v; this.v = this.cv; this.$.val(this.v); this._draw(); @@ -548,6 +558,12 @@ ,deltaX = ori.detail || ori.wheelDeltaX ,deltaY = ori.detail || ori.wheelDeltaY ,v = parseInt(s.$.val()) + (deltaX>0 || deltaY>0 ? s.o.step : deltaX<0 || deltaY<0 ? -s.o.step : 0); + + if ( + s.cH + && (s.cH(v) === false) + ) return; + s.val(v); } , kval, to, m = 1, kv = {37:-s.o.step, 38:s.o.step, 39:s.o.step, 40:-s.o.step}; @@ -675,12 +691,7 @@ }; this.change = function (v) { - if (v == this.cv) return; this.cv = v; - if ( - this.cH - && (this.cH(v) === false) - ) return; this.$.val(v); }; @@ -746,4 +757,4 @@ ).parent(); }; -})(jQuery); +})(jQuery); \ No newline at end of file From 1d82b10c54b3252bcfbc9fbac8099757cfdfaa97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20Mui=C3=B1o?= Date: Wed, 20 Nov 2013 10:53:09 +0100 Subject: [PATCH 04/42] Make change event always fire as the user interacts with the knob That is, when using: - touch - wheel - typing (by binding to the "input" event) Previously, typing did not update the knob until focus was lost (and no change event was fired), and using the keyboard arrows did not fire any change events. Also move event triggering to val() and change() so it works always in the same way and less duplication exists. Similar to #130 but fixes an issue with `diplayPrevious` --- index.html | 5 +++-- js/jquery.knob.js | 43 +++++++++++++++---------------------------- 2 files changed, 18 insertions(+), 30 deletions(-) diff --git a/index.html b/index.html index 7184b74..9352ab0 100755 --- a/index.html +++ b/index.html @@ -60,7 +60,8 @@ return false; } - } + }, + change: function (val) { console.log("Change: " + val) } }); // Example of infinite knob, iPod click wheel @@ -309,4 +310,4 @@

jQuery Knob

jQuery Knob is © 2012 Anthony Terrien and dual licensed under the MIT or GPL licenses.

- \ No newline at end of file + diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 376a138..5a2ae3f 100755 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -141,7 +141,7 @@ s.v[k] = $this.val(); $this.bind( - 'change' + 'change keyup' , function () { var val = {}; val[k] = $this.val(); @@ -159,7 +159,7 @@ (this.v == '') && (this.v = this.o.min); this.$.bind( - 'change' + 'change keyup' , function () { s.val(s._validate(s.$.val())); } @@ -302,15 +302,6 @@ e.originalEvent.touches[s.t].pageX, e.originalEvent.touches[s.t].pageY ); - - if (v == s.cv) return; - - if ( - s.cH - && (s.cH(v) === false) - ) return; - - s.change(s._validate(v)); s._draw(); }; @@ -345,13 +336,6 @@ var mouseMove = function (e) { var v = s.xy2val(e.pageX, e.pageY); - if (v == s.cv) return; - - if ( - s.cH - && (s.cH(v) === false) - ) return; - s.change(s._validate(v)); s._draw(); }; @@ -516,8 +500,13 @@ this.val = function (v) { if (null != v) { - this.cv = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v; - this.v = this.cv; + var newValue = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v; + if ( + newValue != this.cv // avoid double callback for same value + && this.cH + && (this.cH(this.cv) === false) + ) return; + this.v = this.cv = newValue; this.$.val(this.v); this._draw(); } else { @@ -558,12 +547,6 @@ ,deltaX = ori.detail || ori.wheelDeltaX ,deltaY = ori.detail || ori.wheelDeltaY ,v = parseInt(s.$.val()) + (deltaX>0 || deltaY>0 ? s.o.step : deltaX<0 || deltaY<0 ? -s.o.step : 0); - - if ( - s.cH - && (s.cH(v) === false) - ) return; - s.val(v); } , kval, to, m = 1, kv = {37:-s.o.step, 38:s.o.step, 39:s.o.step, 40:-s.o.step}; @@ -691,8 +674,12 @@ }; this.change = function (v) { + if (v == this.cv) return; this.cv = v; - this.$.val(v); + if ( + this.cH + && (this.cH(v) === false) + ) return; }; this.angle = function (v) { @@ -757,4 +744,4 @@ ).parent(); }; -})(jQuery); \ No newline at end of file +})(jQuery); From 7896719d019b809f3bfb7c00f58a4825d1ce9458 Mon Sep 17 00:00:00 2001 From: aterrien Date: Wed, 20 Nov 2013 22:26:45 +0100 Subject: [PATCH 05/42] Disable log change --- index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.html b/index.html index 9352ab0..472b50a 100755 --- a/index.html +++ b/index.html @@ -60,8 +60,7 @@ return false; } - }, - change: function (val) { console.log("Change: " + val) } + } }); // Example of infinite knob, iPod click wheel From 4537561ead35b8c156db6f3c7ffb8063b59082ff Mon Sep 17 00:00:00 2001 From: T2L Date: Tue, 26 Nov 2013 19:21:57 +0200 Subject: [PATCH 06/42] Follow-up Android browser fix: fixed full knob display. --- js/jquery.knob.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 5a2ae3f..f7e86ee 100755 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -717,14 +717,14 @@ c.beginPath(); c.strokeStyle = this.pColor; - c.arc(this.xy, this.xy, this.radius, sa, ea, false); + c.arc(this.xy, this.xy, this.radius, sa - 0.00001, ea + 0.00001, false); c.stroke(); r = (this.cv == this.v); } c.beginPath(); c.strokeStyle = r ? this.o.fgColor : this.fgColor ; - c.arc(this.xy, this.xy, this.radius, sat, eat, false); + c.arc(this.xy, this.xy, this.radius, sat - 0.00001, eat + 0.00001, false); c.stroke(); }; From 4ba17cf70c6af274a2e308c6efd93467c916427d Mon Sep 17 00:00:00 2001 From: aterrien Date: Tue, 3 Dec 2013 23:51:40 +0100 Subject: [PATCH 07/42] Release events on mousewheel --- js/jquery.knob.js | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 5a2ae3f..f49a261 100755 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -540,14 +540,36 @@ this.listen = function () { // bind MouseWheel - var s = this, + var s = this, mwTimerStop, mwTimerRelease, mw = function (e) { e.preventDefault(); + var ori = e.originalEvent ,deltaX = ori.detail || ori.wheelDeltaX ,deltaY = ori.detail || ori.wheelDeltaY - ,v = parseInt(s.$.val()) + (deltaX>0 || deltaY>0 ? s.o.step : deltaX<0 || deltaY<0 ? -s.o.step : 0); + ,v = s._validate(s.$.val()) + + (deltaX>0 || deltaY>0 ? s.o.step : deltaX<0 || deltaY<0 ? -s.o.step : 0); + + v = max(min(v, s.o.max), s.o.min); + s.val(v); + + if(s.rH) { + // Handle mousewheel stop + clearTimeout(mwTimerStop); + mwTimerStop = setTimeout(function() { + s.rH(v); + mwTimerStop = null; + }, 100); + + // Handle mousewheel releases + if(!mwTimerRelease) { + mwTimerRelease = setTimeout(function() { + if(mwTimerStop) s.rH(v); + mwTimerRelease = null; + }, 200); + } + } } , kval, to, m = 1, kv = {37:-s.o.step, 38:s.o.step, 39:s.o.step, 40:-s.o.step}; From a04ae2d91d497d5d466639be78f1a13481c17916 Mon Sep 17 00:00:00 2001 From: aterrien Date: Sat, 7 Dec 2013 22:01:50 +0100 Subject: [PATCH 08/42] Revert call change on val() #143 --- js/jquery.knob.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 9e1f5bd..ddb5273 100755 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -500,13 +500,8 @@ this.val = function (v) { if (null != v) { - var newValue = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v; - if ( - newValue != this.cv // avoid double callback for same value - && this.cH - && (this.cH(this.cv) === false) - ) return; - this.v = this.cv = newValue; + this.cv = this.o.stopper ? max(min(v, this.o.max), this.o.min) : v; + this.v = this.cv; this.$.val(this.v); this._draw(); } else { From 921c78a0359c48e4152989de5070826044c9fe36 Mon Sep 17 00:00:00 2001 From: aterrien Date: Tue, 7 Jan 2014 21:36:46 +0100 Subject: [PATCH 09/42] add bower.json --- bower.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bower.json diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..f0ab934 --- /dev/null +++ b/bower.json @@ -0,0 +1,12 @@ +{ + "name": "aterrien/jQuery-Knob", + "version": "1.2.3", + "main": "js/jquery.knob.js", + "description": "Nice, downward compatible, touchable, jQuery dial.", + "license": "MIT", + "ignore": [], + "dependencies": { + "jquery": "1.7.0" + }, + "devDependencies": {} +} \ No newline at end of file From 354ab5e184884af3d959c2eec59507aa6477e405 Mon Sep 17 00:00:00 2001 From: aterrien Date: Thu, 9 Jan 2014 22:49:30 +0100 Subject: [PATCH 10/42] Fix IE8 #150 #153 @zitrusblau, input blur, more consistent release hook --- bower.json | 2 +- index.html | 15 ++--- js/jquery.knob.js | 142 +++++++++++++++++++++++++--------------------- knob.jquery.json | 2 +- 4 files changed, 83 insertions(+), 78 deletions(-) diff --git a/bower.json b/bower.json index f0ab934..5d2f91f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aterrien/jQuery-Knob", - "version": "1.2.3", + "version": "1.2.4", "main": "js/jquery.knob.js", "description": "Nice, downward compatible, touchable, jQuery dial.", "license": "MIT", diff --git a/index.html b/index.html index 472b50a..4434ba4 100755 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ jQuery Knob demo - + + + - + + +``` Options ------- Options are provided as attributes 'data-option': - +```html + +``` ... or in the "knob()" call : - $(".dial").knob({ - 'min':-50 - ,'max':50 - }); +```javascript +$(".dial").knob({ + 'min':-50, + 'max':50 +}); +``` The following options are supported : @@ -58,11 +64,13 @@ UI : Hooks ------- - + 'release' : function (v) { /*make something*/ } + }); + +``` * 'release' : executed on release @@ -92,40 +100,44 @@ The scope (this) of each hook function is the current Knob instance (refer to th Example ------- - +```html + - - + 'change' : function (v) { console.log(v); } + }); + +``` Dynamically configure ------- - + } + ); + +``` Set the value ------- - + +``` Supported browser ------- From 4fb9bab8d87c4e705cdb1ea47d00b5190191b29e Mon Sep 17 00:00:00 2001 From: Felix Milea-Ciobanu Date: Tue, 14 Jul 2015 10:54:38 -0600 Subject: [PATCH 37/42] added basic package.json for npm package --- package.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..28b7fb1 --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "name": "jquery-knob", + "version": "1.2.11", + "description": "Nice, downward compatible, touchable, jQuery dial", + "main": "dist/jquery.knob.min.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/aterrien/jQuery-Knob.git" + }, + "keywords": [ + "jquery", + "knob", + "dial" + ], + "author": "Anthony Terrien", + "license": "MIT", + "bugs": { + "url": "https://github.com/aterrien/jQuery-Knob/issues" + }, + "homepage": "https://github.com/aterrien/jQuery-Knob#readme" +} From cf505336e7c50e3b6eae1210d321d27832d5ff90 Mon Sep 17 00:00:00 2001 From: legitalk Date: Wed, 14 Oct 2015 10:04:42 +0200 Subject: [PATCH 38/42] Update jquery.knob.js Missing ";" --- js/jquery.knob.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 5294ffa..44220f2 100644 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -472,7 +472,7 @@ // Utils this.h2rgba = function (h, a) { var rgb; - h = h.substring(1,7) + h = h.substring(1,7); rgb = [ parseInt(h.substring(0,2), 16), parseInt(h.substring(2,4), 16), From 28bb63e72a2de1571fd6d1e25d9f1855d820fa4a Mon Sep 17 00:00:00 2001 From: legitalk Date: Wed, 14 Oct 2015 10:11:21 +0200 Subject: [PATCH 39/42] Update Missing 3x ";" --- js/jquery.knob.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 5294ffa..8bae662 100644 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -297,7 +297,7 @@ } return this; - } + }; this._draw = function () { @@ -472,7 +472,7 @@ // Utils this.h2rgba = function (h, a) { var rgb; - h = h.substring(1,7) + h = h.substring(1,7); rgb = [ parseInt(h.substring(0,2), 16), parseInt(h.substring(2,4), 16), @@ -669,7 +669,7 @@ ); this.$c.bind("mousewheel DOMMouseScroll", mw); - this.$.bind("mousewheel DOMMouseScroll", mw) + this.$.bind("mousewheel DOMMouseScroll", mw); }; this.init = function () { From 148307aa5475980dbc85133f16e7cf88cf03fde8 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Fri, 23 Oct 2015 16:58:23 +0100 Subject: [PATCH 40/42] adding height to dial documentation --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d20c58a..2257ff4 100755 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ UI : * thickness : gauge thickness. * lineCap : gauge stroke endings. | default=butt, round=rounded line endings * width : dial width. +* height : dial height. * displayInput : default=true | false=hide input. * displayPrevious : default=false | true=displays the previous value with transparency. * fgColor : foreground color. From fa1c321fd1a9a471130a1a56746462c8330bcf7b Mon Sep 17 00:00:00 2001 From: aterrien Date: Tue, 3 Nov 2015 21:13:28 +0000 Subject: [PATCH 41/42] Release 1.2.12, fix bower version and add npm package --- bower.json | 2 +- js/jquery.knob.js | 2 +- knob.jquery.json | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bower.json b/bower.json index 7969769..ef03e4e 100755 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aterrien/jQuery-Knob", - "version": "1.2.11", + "version": "1.2.12", "main": "js/jquery.knob.js", "description": "Nice, downward compatible, touchable, jQuery dial.", "license": "MIT", diff --git a/js/jquery.knob.js b/js/jquery.knob.js index 8bae662..792313c 100644 --- a/js/jquery.knob.js +++ b/js/jquery.knob.js @@ -2,7 +2,7 @@ /** * Downward compatible, touchable dial * - * Version: 1.2.11 + * Version: 1.2.12 * Requires: jQuery v1.7+ * * Copyright (c) 2012 Anthony Terrien diff --git a/knob.jquery.json b/knob.jquery.json index 26564ad..c442552 100755 --- a/knob.jquery.json +++ b/knob.jquery.json @@ -9,7 +9,7 @@ "ui", "input" ], - "version": "1.2.11", + "version": "1.2.12", "author": { "name": "Anthony Terrien", "url": "https://github.com/aterrien" diff --git a/package.json b/package.json index 28b7fb1..de9f0ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery-knob", - "version": "1.2.11", + "version": "1.2.12", "description": "Nice, downward compatible, touchable, jQuery dial", "main": "dist/jquery.knob.min.js", "scripts": { From 755309e933d326ffaa5a2d758dc377147b766515 Mon Sep 17 00:00:00 2001 From: Anthony Terrien Date: Wed, 16 Dec 2015 21:12:42 +0100 Subject: [PATCH 42/42] Changed bower package name to jquery-knob --- bower.json | 4 ++-- knob.jquery.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bower.json b/bower.json index ef03e4e..1eeb316 100755 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { - "name": "aterrien/jQuery-Knob", - "version": "1.2.12", + "name": "jquery-knob", + "version": "1.2.13", "main": "js/jquery.knob.js", "description": "Nice, downward compatible, touchable, jQuery dial.", "license": "MIT", diff --git a/knob.jquery.json b/knob.jquery.json index c442552..01a9063 100755 --- a/knob.jquery.json +++ b/knob.jquery.json @@ -9,7 +9,7 @@ "ui", "input" ], - "version": "1.2.12", + "version": "1.2.13", "author": { "name": "Anthony Terrien", "url": "https://github.com/aterrien" diff --git a/package.json b/package.json index de9f0ce..fbb4245 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery-knob", - "version": "1.2.12", + "version": "1.2.13", "description": "Nice, downward compatible, touchable, jQuery dial", "main": "dist/jquery.knob.min.js", "scripts": {