Merge pull request #141 from hnrch02/json-config

Added the .json extension to .animate-config
This commit is contained in:
Daniel Eden 2014-01-31 06:45:20 -08:00
commit 3a84d6c99c
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ module.exports = function(grunt) {
files: [
'source/**/*',
'!node_modules',
'.animate-config'
'.animate-config.json'
],
// Run Sass, autoprefixer, and CSSO
tasks: ['concat-anim', 'autoprefixer', 'csso'],
@ -58,7 +58,7 @@ module.exports = function(grunt) {
grunt.registerTask('default', ['watch']);
grunt.registerTask('concat-anim', 'Concatenates activated animations', function () {
var config = grunt.file.readJSON('.animate-config'),
var config = grunt.file.readJSON('.animate-config.json'),
target = [ 'source/_base.css' ],
count = 0

View File

@ -44,7 +44,7 @@ $ cd path/to/animate.css/
$ sudo npm install
```
Next, run `grunt watch` to watch for changes and compile your custom builds. For example, if you want only some of the the “attention seekers”, simply edit the `.animate-config` file to select only the animations you want to use.
Next, run `grunt watch` to watch for changes and compile your custom builds. For example, if you want only some of the the “attention seekers”, simply edit the `.animate-config.json` file to select only the animations you want to use.
```javascript
"attention_seekers": {