Skip to content

Commit

Permalink
Bower, again.
Browse files Browse the repository at this point in the history
  • Loading branch information
leongersen committed Sep 11, 2014
1 parent 785c3c5 commit 458e9fb
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 33 deletions.
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
/distribute/* -diff
1 change: 0 additions & 1 deletion .gitignore
@@ -1,4 +1,3 @@
/distribute
/node_modules
*.log
*.zip
3 changes: 0 additions & 3 deletions .gitmodules
Expand Up @@ -4,6 +4,3 @@
[submodule "submodules/libLink"]
path = submodules/libLink
url = https://github.com/leongersen/libLink
[submodule "submodules/noUiSlider-dist"]
path = submodules/noUiSlider-dist
url = https://github.com/leongersen/noUiSlider-dist
15 changes: 1 addition & 14 deletions Gruntfile.js
Expand Up @@ -108,16 +108,6 @@ module.exports = function(grunt) {
},
files: releaseFiles
}
},
copy: {
all: {
expand: true,
cwd: 'distribute/',
src: '**',
dest: 'submodules/noUiSlider-dist/',
flatten: true,
filter: 'isFile'
}
}
});

Expand All @@ -139,10 +129,7 @@ module.exports = function(grunt) {
// https://github.com/gruntjs/grunt-contrib-compress
grunt.loadNpmTasks('grunt-contrib-compress');

// https://www.npmjs.org/package/grunt-contrib-copy
grunt.loadNpmTasks('grunt-contrib-copy');

grunt.registerTask('default', ['concat', 'jshint']);
grunt.registerTask('create', ['concat', 'jshint', 'uglify', 'cssmin']);
grunt.registerTask('release', ['string-replace', 'compress', 'copy']);
grunt.registerTask('release', ['string-replace', 'compress']);
};
9 changes: 3 additions & 6 deletions README.md
Expand Up @@ -8,15 +8,12 @@ An extensive documentation, including **examples**, **options** and **configurat

Bower
-----
Bower users can install all compiled and minified files easily using `bower install nouislider --save`.
This will install [a separate repository](https://github.com/leongersen/noUiSlider-dist) which is only used for Bower.

You can read more about the absence of minified files for this repository in [this blog post](http://refreshless.com/blog/git-repository-commit-minified-bower/).
Bower users can install all compiled and minified files easily using `bower install nouislider --save`. Supporting bower unfortunately means keeping all compiled and minified versions in the repository.

Changelog
---------
###7.0.5
+ Moved Bower support.
###7.0.4 ~ 7.0.6
+ Bower support.

###7.0.3:
+ Fixed an issue with Link on single-handle RTL sliders.
Expand Down
31 changes: 31 additions & 0 deletions bower.json
@@ -0,0 +1,31 @@
{
"name": "nouislider",
"description": "A lightweight, highly customizable range slider without bloat. Touch support on all modern devices and responsive design ready!",
"keywords": [
"jquery",
"slider",
"form",
"range",
"handles",
"touch",
"input",
"slide"
],
"main": [
"distribute/jquery.nouislider.all.min.js",
"distribute/jquery.nouislider.min.css",
"distribute/jquery.nouislider.pips.min.css"
],
"dependencies": {
"jquery": ">= 1.7.0"
},
"ignore": [
"**/.*",
"**/*.json"
],
"license": "http://www.wtfpl.net/about/",
"homepage": "http://refreshless.com/nouislider/",
"author": {
"name": "Léon Gersen"
}
}
2 changes: 1 addition & 1 deletion distribute/jquery.nouislider.all.js
@@ -1,4 +1,4 @@
/*! noUiSlider - 7.0.4 - 2014-09-11 17:57:47 */
/*! noUiSlider - 7.0.6 - 2014-09-11 20:29:06 */

(function(){

Expand Down
2 changes: 1 addition & 1 deletion distribute/jquery.nouislider.all.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion distribute/jquery.nouislider.js
@@ -1,4 +1,4 @@
/*! noUiSlider - 7.0.4 - 2014-09-11 17:57:47 */
/*! noUiSlider - 7.0.6 - 2014-09-11 20:29:06 */

/*jslint browser: true */
/*jslint white: true */
Expand Down
2 changes: 1 addition & 1 deletion distribute/jquery.nouislider.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 distribute/jquery.nouislider.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 distribute/jquery.nouislider.pips.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 nouislider.jquery.json
Expand Up @@ -16,7 +16,7 @@
"url": "http://www.wtfpl.net/"
}
],
"version": "7.0.5",
"version": "7.0.6",
"author": {
"name": "Léon Gersen",
"url": "https://twitter.com/LeonGersen"
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "noUiSlider",
"version": "7.0.5",
"version": "7.0.6",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-compress": "^0.11.0",
Expand Down
1 change: 0 additions & 1 deletion submodules/noUiSlider-dist
Submodule noUiSlider-dist deleted from f39aed

0 comments on commit 458e9fb

Please sign in to comment.