Skip to content

Commit

Permalink
fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
inorganik committed Aug 23, 2017
1 parent 4292e5d commit 7237aa2
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 30 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# CountUp.js Angular 1.x Module
Attribute directive used to quickly create animations that display numerical data in a more interesting way.

Despite its name, CountUp can count in either direction, depending on the `startVal` and `endVal` params that you pass.
Animates a numerical value by counting to it.

CountUp.js supports all browsers.
Despite its name, CountUp can count in either direction, depending on the `start-val` and `end-val` attributes that you pass.

### [Demo (CountUp + angular-scroll-spy)](http://inorganik.github.io/angular-scroll-spy/)

## See Also

- [CountUp.js repo](https://github.com/inorganik/countUp.js)
- [CountUp.js for Angular 2](https://github.com/inorganik/countUp.js-angular2)
- **[CountUp.js repo](https://github.com/inorganik/countUp.js)**
- **[CountUp.js Angular ^2 Module](https://github.com/inorganik/countUp.js-angular2)**
- **[CountUp.js React](https://github.com/glennreyes/react-countup)**
- **[CountUp.js WordPress Plugin]((https://wordpress.org/plugins/countup-js/)**

## Usage

Expand Down
28 changes: 14 additions & 14 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "countUp.js-angular1",
"main": ["dist/angular-countUp.js"],
"author": "Jamie Perkins",
"dependencies": {
"countUp.js": "^1.8.5"
},
"ignore": [
"LICENSE.md",
"README.md",
"contributing.md",
"gulpfile.js",
"component.json",
"index.html"
]
"name": "countUp.js-angular1",
"main": ["dist/angular-countUp.js"],
"author": "Jamie Perkins",
"dependencies": {
"countUp.js": "^1.8.5"
},
"ignore": [
"LICENSE.md",
"README.md",
"contributing.md",
"gulpfile.js",
"component.json",
"index.html"
]
}
18 changes: 9 additions & 9 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ var rename = require('gulp-rename');
var del = require('del');

gulp.task('clean', function(cb) {
del(['dist/*']);
return cb();
del(['dist/*']);
return cb();
});

gulp.task('build', ['clean'], function(file) {
var angularCountup = gulp
.src('angular-countUp.js')
.pipe(uglify())
.pipe(rename({
suffix: '.min'
}))
.pipe(gulp.dest('dist/'));
var angularCountup = gulp
.src('angular-countUp.js')
.pipe(uglify())
.pipe(rename({
suffix: '.min'
}))
.pipe(gulp.dest('dist/'));
});

gulp.task('default', ['build']);
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "countup.js-angular-1",
"description": "Animates a numerical value by counting to it",
"name": "countup.js-angular1",
"description": "Animates a numerical value by counting to it, for Angular 1.x",
"version": "1.0.0",
"license": "MIT",
"main": "./dist/angular-countUp.min.js",
Expand Down

0 comments on commit 7237aa2

Please sign in to comment.