Fix lodash settings=… documentation example. [ci skip]

Former-commit-id: 671683d4e77b8fa27903e30d938f665548311b3f
This commit is contained in:
John-David Dalton
2013-01-25 00:06:44 -08:00
parent 641b6efe7f
commit 0fc2ab4d41
2 changed files with 2 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ lodash template="./*.jst"
* Use the `settings` argument to pass the template settings used when precompiling templates.
```bash
lodash settings="{interpolate:/\\{\\{([\\s\\S]+?)\\}\\}/g}"
lodash settings="{interpolate:/\{\{([\s\S]+?)\}\}/g}"
```
* Use the `moduleId` argument to specify the AMD module ID of Lo-Dash, which defaults to “lodash”, used by precompiled templates.

View File

@@ -579,7 +579,7 @@
' lodash template=... File path pattern used to match template files to precompile',
' (e.g. `lodash template=./*.jst`)',
' lodash settings=... Template settings used when precompiling templates',
' (e.g. `lodash settings="{interpolate:/\\\\{\\\\{([\\\\s\\\\S]+?)\\\\}\\\\}/g}"`)',
' (e.g. `lodash settings="{interpolate:/\\{\\{([\\s\\S]+?)\\}\\}/g}"`)',
' lodash moduleId=... The AMD module ID of Lo-Dash, which defaults to “lodash”, used by precompiled templates',
'',
' All arguments, except `legacy` with `csp` or `mobile`, may be combined.',