Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Aug 10, 2019
1 parent 84e9d9e commit 5390449
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 @@ -92,7 +92,7 @@ If `String` then that string will be used in the module definition `define(['you

If `Array` then those strings will be used in the module definition. `'handlebars'` should always be the first item in the array, eg: `amd: ['handlebars', 'handlebars.helpers']`

If `Function` then it will be called per each module and returned string will be used in the module defintion `"define(['" + options.amd(filename, ast, compiled) + "']"`
If `Function` then it will be called per each module and returned string will be used in the module definition `"define(['" + options.amd(filename, ast, compiled) + "']"`

```js
define(['handlebars'], function(Handlebars) {
Expand Down
2 changes: 1 addition & 1 deletion docs/handlebars-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ If `String` then that string will be used in the module definition `define(['you

If `Array` then those strings will be used in the module definition. `'handlebars'` should always be the first item in the array, eg: `amd: ['handlebars', 'handlebars.helpers']`

If `Function` then it will be called per each module and returned string will be used in the module defintion `"define(['" + options.amd(filename, ast, compiled) + "']"`
If `Function` then it will be called per each module and returned string will be used in the module definition `"define(['" + options.amd(filename, ast, compiled) + "']"`

```js
define(['handlebars'], function(Handlebars) {
Expand Down

0 comments on commit 5390449

Please sign in to comment.