Skip to content

Commit 4010b83

Browse files
Paul LeclercqPaul Leclercq
authored andcommitted
Remove grunt changes, and update README.md to include momentjs and humanize-duration
1 parent 01dbc18 commit 4010b83

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

Gruntfile.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ module.exports = function (grunt) {
3636
banner: '<%= meta.banner %>'
3737
},
3838
src: [
39-
'bower_components/jquery/jquery.min.js',
40-
'bower_components/angular/angular.min.js',
41-
'bower_components/bootstrap/docs/assets/js/bootstrap.min.js',
42-
'bower_components/momentjs/min/moment.min.js',
43-
'bower_components/momentjs/min/locales.min.js',
44-
'bower_components/humanize-duration/humanize-duration.js',
4539
'app/**/*.js'
4640
],
4741
dest: '<%= dist_dir %>/<%= pkg.name %>.js'

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,19 @@ With any of the following options...
77
* Install angular-timer using [Bower](http://bower.io) - `bower install angular-timer`
88
* Add ``timer`` to your list of modules
99

10+
### Requirements
11+
With Bower install :
12+
* Install humanize-duration using [Bower](http://bower.io) - `bower install humanize-duration`
13+
* Install momentjs using [Bower](http://bower.io) - `bower install momentjs`
14+
15+
And include these scripts :
16+
* bower_components/momentjs/min/moment.min.js
17+
* bower_components/momentjs/min/locales.min.js
18+
* bower_components/humanize-duration/humanize-duration.js
19+
20+
1021
### Running locally
22+
Install all bower components - `bower install
1123
Using [Grunt](http://gruntjs.com/) type `grunt` from command line, the default task will open index.html page in your
1224
default browser
1325

0 commit comments

Comments
 (0)