Skip to content

Commit

Permalink
Fix api docs typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpfs committed Jun 29, 2016
1 parent a584052 commit ceb9cd7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ Note some data omitted from the example output for brevity.
### trucks

```javascript
trucks((Object), cb)
trucks(opts, cb)
```

Compile component HTML files to CSS and Javascript.

* `(Object)` opts processing options.
* `opts` Object processing options.
* `cb` Function callback function.

#### Options
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var load = require('./load'),
* Compile component HTML files to CSS and Javascript.
*
* @function trucks
* @param (Object) opts processing options.
* @param {Object} opts processing options.
* @param {Function} cb callback function.
*
* @option {Array} files list of HTML files to compile.
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const load = require('./load')
* Compile component HTML files to CSS and Javascript.
*
* @function trucks
* @param (Object) opts processing options.
* @param {Object} opts processing options.
* @param {Function} cb callback function.
*
* @option {Array} files list of HTML files to compile.
Expand Down

0 comments on commit ceb9cd7

Please sign in to comment.