Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #185 from andreruffert/release/v2.0.3
Browse files Browse the repository at this point in the history
release: v2.0.3
  • Loading branch information
andreruffert committed Nov 15, 2015
2 parents 2b355ff + b78fe30 commit 9c1b171
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# rangeslider.js
[![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) [![rangeslider.js](http://img.shields.io/badge/rangeslider-.js-00ff00.svg)](http://andreruffert.github.io/rangeslider.js/) [![Build Status](https://travis-ci.org/andreruffert/rangeslider.js.svg?branch=develop)](https://travis-ci.org/andreruffert/rangeslider.js) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/andreruffert/rangeslider.js)

> Simple, small and fast JavaScript/jQuery polyfill for the HTML5 `<input type="range">` slider element.
> Simple, small and fast JavaScript/jQuery [polyfill](https://remysharp.com/2010/10/08/what-is-a-polyfill) for the HTML5 `<input type="range">` slider element.
Check out the [examples](http://andreruffert.github.io/rangeslider.js/).

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rangeslider.js",
"version": "2.0.2",
"version": "2.0.3",
"homepage": "https://github.com/andreruffert/rangeslider.js",
"authors": [
"André Ruffert <[email protected]>"
Expand Down
8 changes: 3 additions & 5 deletions dist/rangeslider.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
/*! rangeslider.js - v2.0.2 | (c) 2015 @andreruffert | MIT license | https://github.com/andreruffert/rangeslider.js */
/*! rangeslider.js - v2.0.3 | (c) 2015 @andreruffert | MIT license | https://github.com/andreruffert/rangeslider.js */
(function(factory) {
'use strict';

if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
}
else if (typeof exports === 'object') {
} else if (typeof exports === 'object') {
// CommonJS
factory(require('jquery'));
module.exports = factory(require('jquery'));
} else {
// Browser globals
factory(jQuery);
Expand Down Expand Up @@ -316,7 +315,6 @@
};

Plugin.prototype.handleDown = function(e) {
e.preventDefault();
this.$document.on(this.moveEvent, this.handleMove);
this.$document.on(this.endEvent, this.handleEnd);

Expand Down
4 changes: 2 additions & 2 deletions dist/rangeslider.min.js

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

2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ <h2>Combination with native <code>&lt;details&gt;</code> element</h2>
output[textContent] = value;
}

$document.on('input', selector, function(e) {
$document.on('input', 'input[type="range"], ' + selector, function(e) {
valueOutput(e.target);
});

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "rangeslider.js",
"title": "rangeslider.js",
"description": "Simple, small and fast JavaScript/jQuery polyfill for the HTML5 <input type=\"range\"> slider element",
"version": "2.0.2",
"codename": "Jungle Green",
"version": "2.0.3",
"codename": "Razzmatazz",
"main": "dist/rangeslider.js",
"homepage": "https://github.com/andreruffert/rangeslider.js",
"author": {
Expand Down
6 changes: 2 additions & 4 deletions src/rangeslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
}
else if (typeof exports === 'object') {
} else if (typeof exports === 'object') {
// CommonJS
factory(require('jquery'));
module.exports = factory(require('jquery'));
} else {
// Browser globals
factory(jQuery);
Expand Down Expand Up @@ -315,7 +314,6 @@
};

Plugin.prototype.handleDown = function(e) {
e.preventDefault();
this.$document.on(this.moveEvent, this.handleMove);
this.$document.on(this.endEvent, this.handleEnd);

Expand Down

0 comments on commit 9c1b171

Please sign in to comment.