-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added Grunt - minified js and css included
- Loading branch information
1 parent
6fffa81
commit a3af31a
Showing
59 changed files
with
9,567 additions
and
14,340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
.DS_Store | ||
.idea | ||
.hg | ||
.git | ||
.hgignore | ||
nbproject | ||
index_demo_site.html | ||
|
||
*.iml | ||
*.ipr | ||
*.iws | ||
node_modules | ||
bower_components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"boss": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"eqnull": true, | ||
"expr": true, | ||
"immed": true, | ||
"noarg": true, | ||
"onevar": false, | ||
"quotmark": "single", | ||
"smarttabs": true, | ||
"trailing": true, | ||
"unused": true, | ||
"node": true, | ||
"globals": { | ||
"$": true, | ||
"jQuery": true, | ||
"confirm": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
language: node_js | ||
node_js: | ||
- 0.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Contributing | ||
|
||
Before sending a pull request remember to follow [jQuery Core Style Guide](http://contribute.jquery.org/style-guide/js/). | ||
|
||
1. Fork it! | ||
2. Create your feature branch: `git checkout -b my-new-feature` | ||
3. Make your changes on the `src` folder, never on the `dist` folder. | ||
4. Commit your changes: `git commit -m 'Add some feature'` | ||
5. Push to the branch: `git push origin my-new-feature` | ||
6. Submit a pull request :D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
module.exports = function (grunt) { | ||
|
||
grunt.initConfig({ | ||
|
||
// Import package manifest | ||
pkg: grunt.file.readJSON("bootstrap-colorpickersliders.jquery.json"), | ||
|
||
// Banner definitions | ||
meta: { | ||
banner: "/*\n" + | ||
" * <%= pkg.title || pkg.name %> - v<%= pkg.version %>\n" + | ||
" *\n" + | ||
" * <%= pkg.description %>\n" + | ||
" * <%= pkg.homepage %>\n" + | ||
" *\n" + | ||
" * Made by <%= pkg.author.name %>\n" + | ||
" * Under <%= pkg.licenses[0].type %> License\n" + | ||
" *\n" + | ||
" * Requirements: " + | ||
" *\n" + | ||
" * TinyColor: https://github.com/bgrins/TinyColor/\n" + | ||
" *\n" + | ||
" * Using color math algorithms from EasyRGB Web site:/\n" + | ||
" * http://www.easyrgb.com/index.php?X=MATH" + | ||
" */\n" | ||
}, | ||
|
||
// Concat definitions | ||
concat: { | ||
js: { | ||
src: ["src/bootstrap.colorpickersliders.js"], | ||
dest: "dist/bootstrap.colorpickersliders.js" | ||
}, | ||
js2: { | ||
src: ["src/bootstrap.colorpickersliders.nocielch.js"], | ||
dest: "dist/bootstrap.colorpickersliders.nocielch.js" | ||
}, | ||
css: { | ||
src: ["src/bootstrap.colorpickersliders.css"], | ||
dest: "dist/bootstrap.colorpickersliders.css" | ||
}, | ||
options: { | ||
banner: "<%= meta.banner %>" | ||
} | ||
}, | ||
|
||
// Lint definitions | ||
jshint: { | ||
files: ["src/bootstrap.colorpickersliders.js", "src/bootstrap.colorpickersliders.nocielch.js"], | ||
options: { | ||
jshintrc: ".jshintrc" | ||
} | ||
}, | ||
|
||
// Minify definitions | ||
uglify: { | ||
js: { | ||
src: ["dist/bootstrap.colorpickersliders.js"], | ||
dest: "dist/bootstrap.colorpickersliders.min.js" | ||
}, | ||
js2: { | ||
src: ["dist/bootstrap.colorpickersliders.nocielch.js"], | ||
dest: "dist/bootstrap.colorpickersliders.nocielch.min.js" | ||
}, | ||
options: { | ||
banner: "<%= meta.banner %>" | ||
} | ||
}, | ||
|
||
cssmin: { | ||
css: { | ||
src: ["dist/bootstrap.colorpickersliders.css"], | ||
dest: "dist/bootstrap.colorpickersliders.min.css" | ||
}, | ||
options: { | ||
banner: "<%= meta.banner %>" | ||
} | ||
} | ||
|
||
}); | ||
|
||
grunt.loadNpmTasks("grunt-contrib-concat"); | ||
grunt.loadNpmTasks("grunt-contrib-jshint"); | ||
grunt.loadNpmTasks("grunt-contrib-uglify"); | ||
grunt.loadNpmTasks("grunt-contrib-cssmin"); | ||
|
||
grunt.registerTask("default", ["jshint", "concat", "uglify", "cssmin"]); | ||
grunt.registerTask("travis", ["jshint"]); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
{ | ||
"name": "bootstrap-colorpickersliders", | ||
"title": "Bootstrap Color Picker Sliders", | ||
"description": "A Bootstrap 3 optimized advanced responsive color selector with color swatches and support for human perceived lightness. Works in all modern browsers and on touch devices.", | ||
"keywords": [ | ||
"colorpicker", | ||
"bootstrap", | ||
"input", | ||
"responsive", | ||
"color", | ||
"picker", | ||
"widget", | ||
"colorchooser" | ||
], | ||
"version": "2.1.7", | ||
"author": { | ||
"name": "István Ujj-Mészáros", | ||
"url": "https://github.com/istvan-ujjmeszaros" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "Apache License v2.0", | ||
"url": "http://www.apache.org/licenses/LICENSE-2.0" | ||
} | ||
], | ||
"homepage": "http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/", | ||
"demo": "http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/", | ||
"docs": "http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/", | ||
"download": "https://github.com/istvan-ujjmeszaros/bootstrap-colorpickersliders/archive/master.zip", | ||
"dependencies": { | ||
"jquery": ">=1.7" | ||
"name": "bootstrap-colorpickersliders", | ||
"title": "Bootstrap Color Picker Sliders", | ||
"description": "Bootstrap 3 optimized responsive color selector with HSV, HSL, RGB and CIE-Lch (which supports human perceived lightness) selectors and color swatches.", | ||
"keywords": [ | ||
"colorpicker", | ||
"bootstrap", | ||
"input", | ||
"responsive", | ||
"color", | ||
"picker", | ||
"widget", | ||
"colorchooser" | ||
], | ||
"version": "3.0.0", | ||
"author": { | ||
"name": "István Ujj-Mészáros", | ||
"url": "https://github.com/istvan-ujjmeszaros" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "Apache License v2.0", | ||
"url": "http://www.apache.org/licenses/LICENSE-2.0" | ||
} | ||
], | ||
"homepage": "http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/", | ||
"demo": "http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/", | ||
"docs": "http://www.virtuosoft.eu/code/bootstrap-colorpickersliders/", | ||
"download": "https://github.com/istvan-ujjmeszaros/bootstrap-colorpickersliders/archive/master.zip", | ||
"dependencies": { | ||
"jquery": ">=1.7" | ||
} | ||
} |
144 changes: 0 additions & 144 deletions
144
bootstrap-colorpickersliders/bootstrap.colorpickersliders.css
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.