This repository has been archived by the owner on Nov 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
91 changed files
with
2,746 additions
and
3,188 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.idea | ||
bower_components | ||
node_modules | ||
|
||
npm-debug.log |
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 was deleted.
Oops, something went wrong.
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,74 @@ | ||
var gulp = require('gulp'); | ||
var util = require('gulp-util'); | ||
|
||
var clean = require('gulp-clean'); | ||
var header = require('gulp-header'); | ||
var less = require('gulp-less'); | ||
var rename = require('gulp-rename'); | ||
var uglify = require('gulp-uglify'); | ||
var minifyCss = require('gulp-minify-css'); | ||
|
||
var pkg = require('./package.json'); | ||
var currentYear = util.date(new Date(), 'yyyy'); | ||
|
||
var paths = { | ||
scripts: [ | ||
'./bootstrap-progressbar.js' | ||
], | ||
styles: [ | ||
'./resources/bootstrap-progressbar-2.0.0.less', | ||
'./resources/bootstrap-progressbar-2.0.1.less', | ||
'./resources/bootstrap-progressbar-2.0.2.less', | ||
'./resources/bootstrap-progressbar-2.0.3.less', | ||
'./resources/bootstrap-progressbar-2.0.4.less', | ||
'./resources/bootstrap-progressbar-2.1.0.less', | ||
'./resources/bootstrap-progressbar-2.1.1.less', | ||
'./resources/bootstrap-progressbar-2.2.0.less', | ||
'./resources/bootstrap-progressbar-2.2.1.less', | ||
'./resources/bootstrap-progressbar-2.2.2.less', | ||
'./resources/bootstrap-progressbar-2.3.0.less', | ||
'./resources/bootstrap-progressbar-2.3.1.less', | ||
'./resources/bootstrap-progressbar-2.3.2.less', | ||
'./resources/bootstrap-progressbar-3.0.0-rc1.less', | ||
'./resources/bootstrap-progressbar-3.0.0-rc2.less', | ||
'./resources/bootstrap-progressbar-3.0.0.less', | ||
'./resources/bootstrap-progressbar-3.0.1.less', | ||
'./resources/bootstrap-progressbar-3.0.2.less', | ||
'./resources/bootstrap-progressbar-3.0.3.less', | ||
'./resources/bootstrap-progressbar-3.1.0.less', | ||
'./resources/bootstrap-progressbar-3.1.1.less' | ||
] | ||
}; | ||
|
||
var banner = '/*! <%= pkg.name %> v<%= pkg.version %> | Copyright (c) 2012-<%= currentYear %> <%= pkg.author %> | <%= pkg.license %> license | <%= pkg.homepage %> */\n'; | ||
|
||
gulp.task('scripts', function() { | ||
return gulp.src(paths.scripts) | ||
.pipe(uglify()) | ||
.pipe(header(banner, {pkg: pkg, currentYear: currentYear})) | ||
.pipe(rename({suffix: '.min'})) | ||
.pipe(gulp.dest('.')); | ||
}); | ||
|
||
gulp.task('styles', function() { | ||
return gulp.src(paths.styles) | ||
.pipe(less()) | ||
.pipe(header(banner, {pkg: pkg, currentYear: currentYear})) | ||
.pipe(gulp.dest('./css')); | ||
}); | ||
|
||
gulp.task('styles-min', function() { | ||
return gulp.src(paths.styles) | ||
.pipe(less()) | ||
.pipe(minifyCss()) | ||
.pipe(header(banner, {pkg: pkg, currentYear: currentYear})) | ||
.pipe(rename({suffix: '.min'})) | ||
.pipe(gulp.dest('./css')); | ||
}); | ||
|
||
gulp.task('clean', function() { | ||
return gulp.src('./css', {read: false}) | ||
.pipe(clean()); | ||
}); | ||
|
||
gulp.task('default', ['clean', 'scripts', 'styles', 'styles-min']); |
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,12 +1,16 @@ | ||
# bootstrap-progressbar - 0.7.0 [![Build Status](https://secure.travis-ci.org/minddust/bootstrap-progressbar.png)](http://travis-ci.org/minddust/bootstrap-progressbar) | ||
# bootstrap-progressbar - 0.7.1 [![Build Status](https://secure.travis-ci.org/minddust/bootstrap-progressbar.png)](http://travis-ci.org/minddust/bootstrap-progressbar) | ||
|
||
`bootstrap-progressbar` is a [jQuery](http://jquery.com) plugin which extends the basic [twitter-bootstrap](https://github.com/twbs/bootstrap) progressbar. It provides the ability to animate the progressbar by adding Javascript in combination with the preexisting css transitions. Additionally you can display the current progress information in the bar or get the value via callback. | ||
|
||
|
||
## What's new in v0.7.0? | ||
## What's new in v0.7.1? | ||
|
||
* Add bootstrap 3.0.0-3.1.0 styles | ||
* Fix #22 wrong vertical styles for bootstrap 2.x | ||
* Add bootstrap 3.1.1 styles | ||
* Switch to Gulp | ||
* Remove bs dotfiles | ||
* Fix #30 compile errors with old markup | ||
* Fix #29 wrong style generation | ||
* Fix #28 element creation which will brick with `django-compressor` | ||
|
||
> Note: this version sets (fixes) some vertical styles which may affect (or brick) your styles. Please checkout the css or less before updating. | ||
|
@@ -18,7 +22,7 @@ | |
|
||
## Installation | ||
|
||
* Download the latest release: [v0.7.0](https://github.com/minddust/bootstrap-progressbar/archive/v0.7.0.zip) | ||
* Download the latest release: [v0.7.1](https://github.com/minddust/bootstrap-progressbar/archive/v0.7.1.zip) | ||
* Clone the repository: `git clone [email protected]:minddust/bootstrap-progressbar.git` | ||
* Install with [Bower](http://bower.io): `bower install bootstrap-progressbar` | ||
|
||
|
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
Oops, something went wrong.