Added the .json extension to .animate-config

For the sake of syntax highlighting, as the content of .animate-config is valid JSON.
This commit is contained in:
Heinrich Fenkart 2013-12-25 17:51:08 +01:00
parent bb2c830e08
commit ddfed810b2
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": {