Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
think2011 committed Jan 3, 2016
1 parent aad9c44 commit e5da7e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions all.html
Original file line number Diff line number Diff line change
Expand Up @@ -559,15 +559,15 @@ <h2 id="-">兼容性</h2>
</ul>
<pre><code>lodash category=array plus=random,template
</code></pre><ul>
<li>Use the <code>template</code> command to pass the file path pattern used to match template files to precompile. <strong>注意:</strong> 预编译模板分配在 <code>_.templates</code> 对象上。</li>
<li>使用 <code>template</code> 命令传入路径相匹配的文件生成预编译模板。 <strong>注意:</strong> 预编译模板分配在 <code>_.templates</code> 对象上。</li>
</ul>
<pre><code>lodash template=&quot;./*.jst&quot;
</code></pre><ul>
<li>使用 <code>settings</code> 命令设置预编译模板时的模板语法。</li>
</ul>
<pre><code>lodash settings=&quot;{interpolate:/\{\{([\s\S]+?)\}\}/g}&quot;
</code></pre><ul>
<li>Use the <code>moduleId</code> command to specify the AMD module ID for lodash or the module ID used to include lodash in compiled templates. Use “none” as the module ID to create compiled templates without a dependency on lodash.</li>
<li>使用 <code>moduleId</code> 命令指定 lodash 的 AMD module ID 或 包含 lodash 的编译模板的 module ID。指定为 <code>none</code> 表示创建编译模板不依赖 lodash</li>
</ul>
<pre><code>lodash moduleId=underscore
</code></pre><p><strong>注意:</strong></p>
Expand Down
4 changes: 2 additions & 2 deletions custom-builds.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,15 +440,15 @@
</ul>
<pre><code>lodash category=array plus=random,template
</code></pre><ul>
<li>Use the <code>template</code> command to pass the file path pattern used to match template files to precompile. <strong>注意:</strong> 预编译模板分配在 <code>_.templates</code> 对象上。</li>
<li>使用 <code>template</code> 命令传入路径相匹配的文件生成预编译模板。 <strong>注意:</strong> 预编译模板分配在 <code>_.templates</code> 对象上。</li>
</ul>
<pre><code>lodash template=&quot;./*.jst&quot;
</code></pre><ul>
<li>使用 <code>settings</code> 命令设置预编译模板时的模板语法。</li>
</ul>
<pre><code>lodash settings=&quot;{interpolate:/\{\{([\s\S]+?)\}\}/g}&quot;
</code></pre><ul>
<li>Use the <code>moduleId</code> command to specify the AMD module ID for lodash or the module ID used to include lodash in compiled templates. Use “none” as the module ID to create compiled templates without a dependency on lodash.</li>
<li>使用 <code>moduleId</code> 命令指定 lodash 的 AMD module ID 或 包含 lodash 的编译模板的 module ID。指定为 <code>none</code> 表示创建编译模板不依赖 lodash</li>
</ul>
<pre><code>lodash moduleId=underscore
</code></pre><p><strong>注意:</strong></p>
Expand Down
Loading

0 comments on commit e5da7e6

Please sign in to comment.