Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aterrien committed Feb 27, 2014
1 parent f785736 commit ac8320d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aterrien/jQuery-Knob",
"version": "1.2.6",
"version": "1.2.7",
"main": "js/jquery.knob.js",
"description": "Nice, downward compatible, touchable, jQuery dial.",
"license": "MIT",
Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
cancel : function () {
console.log("cancel : ", this);
},
/*format : function (value) {
return value + '%';
},*/
draw : function () {

// "tron" case
Expand Down
6 changes: 3 additions & 3 deletions js/jquery.knob.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Downward compatible, touchable dial
*
* Version: 1.2.6 (23/02/2014)
* Version: 1.2.7 (23/02/2014)
* Requires: jQuery v1.7+
*
* Copyright (c) 2012 Anthony Terrien
Expand Down Expand Up @@ -141,7 +141,7 @@
this.i.each(function(k) {
var $this = $(this);
s.i[k] = $this;
s.v[k] = $this.val();
s.v[k] = s.o.parse($this.val());

$this.bind(
'change blur'
Expand All @@ -158,7 +158,7 @@

// input = integer
this.i = this.$;
this.v = this.$.val();
this.v = this.o.parse(this.$.val());
(this.v === '') && (this.v = this.o.min);

this.$.bind(
Expand Down
2 changes: 1 addition & 1 deletion knob.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ui",
"input"
],
"version": "1.2.6",
"version": "1.2.7",
"author": {
"name": "Anthony Terrien",
"url": "https://github.com/aterrien"
Expand Down

0 comments on commit ac8320d

Please sign in to comment.