Skip to content

Commit

Permalink
Clarify name of the data object for 'process'. Closes GH-45.
Browse files Browse the repository at this point in the history
Grunt.template documenation seems to imply that you should set your options like:

options: {
  data: {
    myvar: "blah"
...
  • Loading branch information
uberbrady authored and shama committed Oct 8, 2013
1 parent 1e15b20 commit cb55164
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Process source files before concatenating, either as [templates][] or with a cus

* `false` - No processing will occur.
* `true` - Process source files using [grunt.template.process][] defaults.
* `options` object - Process source files using [grunt.template.process][], using the specified options.
* `data` object - Process source files using [grunt.template.process][], using the specified options.
* `function(src, filepath)` - Process source files using the given function, called once for each file. The returned value will be used as source code.

_(Default processing options are explained in the [grunt.template.process][] documentation)_
Expand Down
2 changes: 1 addition & 1 deletion docs/concat-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Process source files before concatenating, either as [templates][] or with a cus

* `false` - No processing will occur.
* `true` - Process source files using [grunt.template.process][] defaults.
* `options` object - Process source files using [grunt.template.process][], using the specified options.
* `data` object - Process source files using [grunt.template.process][], using the specified options.
* `function(src, filepath)` - Process source files using the given function, called once for each file. The returned value will be used as source code.

_(Default processing options are explained in the [grunt.template.process][] documentation)_
Expand Down

0 comments on commit cb55164

Please sign in to comment.