From 0fc2ab4d41c6531f51130f53884d618b6ebda361 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 25 Jan 2013 00:06:44 -0800 Subject: [PATCH] =?UTF-8?q?Fix=20`lodash=20settings=3D=E2=80=A6`=20documen?= =?UTF-8?q?tation=20example.=20[ci=20skip]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 671683d4e77b8fa27903e30d938f665548311b3f --- README.md | 2 +- build.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d38553354..9c93a10ee 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/build.js b/build.js index e50486a68..7bfa9104a 100755 --- a/build.js +++ b/build.js @@ -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.',