Skip to content

Commit

Permalink
Version and creation
Browse files Browse the repository at this point in the history
  • Loading branch information
leongersen committed Jul 6, 2015
1 parent c41e621 commit f744169
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = function(grunt) {
latedef: true,
undef: true,
unused: true,
globals: { module: true, define: true }
globals: { module: true, define: true, __dirname: true, require: true }
},
basic: ['distribute/nouislider.js']
},
Expand Down
10 changes: 6 additions & 4 deletions distribute/nouislider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! nouislider - 8.0.1 - 2015-07-03 09:58:06 */
/*! nouislider - 8.0.2 - 2015-07-06 13:22:09 */

/*jslint browser: true */
/*jslint white: true */
Expand All @@ -11,7 +11,9 @@
define([], factory);

} else if ( typeof exports === 'object' ) {

var fs = require('fs');

// Node/CommonJS
module.exports = factory();
module.exports.css = function () {
Expand Down Expand Up @@ -1001,14 +1003,14 @@ function closure ( target, options ){
addClass(element, 'noUi-pips');
addClass(element, 'noUi-pips-' + style);

function getSize( type, value ){
function getSize( type ){
return [ '-normal', '-large', '-sub' ][type];
}

function getTags( offset, source, values ) {
return 'class="' + source + ' ' +
source + '-' + style + ' ' +
source + getSize(values[1], values[0]) +
source + getSize(values[1]) +
'" style="' + options.style + ': ' + offset + '%"';
}

Expand Down Expand Up @@ -1146,7 +1148,7 @@ function closure ( target, options ){

var handles = data.handles || scope_Handles, positions, state = false,
proposal = ((event.calcPoint - data.start) * 100) / baseSize(),
handleNumber = handles[0] === scope_Handles[0] ? 0 : 1;
handleNumber = handles[0] === scope_Handles[0] ? 0 : 1, i;

// Calculate relative positions for the handles.
positions = getPositions( proposal, data.positions, handles.length > 1);
Expand Down
2 changes: 1 addition & 1 deletion distribute/nouislider.min.css

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

4 changes: 2 additions & 2 deletions distribute/nouislider.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion documentation/download.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<p>noUiSlider is open source, and you can use it <strong>for free</strong> in any personal or commercial product. No attribution required. Both the uncompressed and compressed version of noUiSlider are available in a <code>.zip</code> release, which is hosted by Github and available over <code>https</code>.</p>

<a class="button" href="https://github.com/leongersen/noUiSlider/releases/download/8.0.1/noUiSlider.8.0.1.zip" data-category="convert" data-action="download">Download noUiSlider from Github</a>
<a class="button" href="https://github.com/leongersen/noUiSlider/releases/download/8.0.2/noUiSlider.8.0.2.zip" data-category="convert" data-action="download">Download noUiSlider from Github</a>

<div class="share">
<iframe src="https://ghbtns.com/github-btn.html?user=leongersen&repo=noUiSlider&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nouislider",
"version": "8.0.1",
"version": "8.0.2",
"main": "distribute/nouislider",
"license": "WTFPL",
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions src/js/intro.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
define([], factory);

} else if ( typeof exports === 'object' ) {

var fs = require('fs');

// Node/CommonJS
module.exports = factory();
module.exports.css = function () {
Expand Down

0 comments on commit f744169

Please sign in to comment.