Skip to content

Commit

Permalink
Release v9.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rovolution committed Jul 6, 2017
1 parent f740057 commit 385bf7a
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seiyria-bootstrap-slider",
"version": "9.8.0",
"version": "9.8.1",
"homepage": "https://github.com/seiyria/bootstrap-slider",
"authors": [
"Kyle Kemp <kyle@seiyria.com>",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "seiyria/bootstrap-slider",
"type": "library",
"version": "9.8.0",
"version": "9.8.1",
"description": "A less buggy fork of the original bootstrap slider found on http://www.eyecon.ro/ by Stefan Petre. It was forked so we could update the slider since the original wasn't under version control.",
"keywords": ["slider", "css", "bootstrap", "javascript"],
"homepage": "https://github.com/seiyria/bootstrap-slider",
Expand Down
5 changes: 4 additions & 1 deletion dist/bootstrap-slider.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! =======================================================
VERSION 9.8.0
VERSION 9.8.1
========================================================= */
"use strict";

Expand Down Expand Up @@ -296,6 +296,9 @@ var windowIsDefined = (typeof window === "undefined" ? "undefined" : _typeof(win
var min = this.options.min === 0 ? 0 : Math.log(this.options.min);
var max = Math.log(this.options.max);
var value = Math.exp(min + (max - min) * percentage / 100);
if (Math.round(value) === this.options.max) {
return this.options.max;
}
value = this.options.min + Math.round((value - this.options.min) / this.options.step) * this.options.step;
/* Rounding to the nearest step could exceed the min or
* max, so clip to those values. */
Expand Down
6 changes: 3 additions & 3 deletions dist/bootstrap-slider.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap-slider.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! =======================================================
VERSION 9.8.0
VERSION 9.8.1
========================================================= */
/*! =========================================================
* bootstrap-slider.js
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap-slider.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-slider",
"version": "9.8.0",
"version": "9.8.1",
"description": "Slider view component for Twitter Bootstrap.",
"main": "dist/bootstrap-slider.js",
"style": "dist/css/bootstrap-slider.css",
Expand Down

0 comments on commit 385bf7a

Please sign in to comment.