Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
think2011 committed Jan 8, 2016
1 parent 8f614f8 commit 6eaf402
Show file tree
Hide file tree
Showing 290 changed files with 885 additions and 906 deletions.
2 changes: 1 addition & 1 deletion VERSION.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@

<div id="main" onclick="">
<div id="content" class="markdown-body">
<div data-render-page="entry"><h2>VERSION <a class="fa-link" href="./VERSION" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L14171" title="View in source." target="github">source</a> </h2>
<div data-render-page="entry"><h2>VERSION <a class="fa-link" href="./VERSION" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L14164" title="View in source." target="github">source</a> </h2>
<div class="signature">_.VERSION</div>

<div data-render-html="/VERSION"><p>(string): The semantic version number.</p>
Expand Down
25 changes: 9 additions & 16 deletions _.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,23 +392,17 @@

<div id="main" onclick="">
<div id="content" class="markdown-body">
<div data-render-page="entry"><h2>_ <a class="fa-link" href="./_" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L1498" title="View in source." target="github">source</a> </h2>
<div data-render-page="entry"><h2>_ <a class="fa-link" href="./_" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L1491" title="View in source." target="github">source</a> </h2>
<div class="signature">_(value)</div>

<div data-render-html="/_"><p>Creates a <code>lodash</code> object which wraps <code>value</code> to enable implicit method
chaining. Methods that operate on and return arrays, collections, and
functions can be chained together. Methods that retrieve a single value or
may return a primitive value will automatically end the chain sequence and
return the unwrapped value. Otherwise, the value must be unwrapped with
<code>_#value</code>.
<div data-render-html="/_"><p>创建一个经 <code>lodash</code> 包装后的对象会启用隐式链。返回的数组、集合、方法相互之间能够链式调用。
检索唯一值或返回原始值会自动解除链条并返回计算后的值,否则需要调用 <code>_#value</code> 方法解除链(即获得计算结果)。
<br>
<br>
Explicit chaining, which must be unwrapped with <code>_#value</code> in all cases,
may be enabled using <code>_.chain</code>.
显式链式调用,在任何情况下需要先用 <code>_#value</code> 解除链后,才能使用 <code>_.chain</code> 开启。
<br>
<br>
The execution of chained methods is lazy, that is, it&#39;s deferred until
<code>_#value</code> is implicitly or explicitly called.
链式方法是惰性计算的,直到隐式或者显式调用了 <code>_#value</code> 才会执行计算。
<br>
<br>
Lazy evaluation allows several methods to support shortcut fusion. Shortcut
Expand All @@ -420,18 +414,17 @@
for shortcut fusion is subject to change.
<br>
<br>
Chaining is supported in custom builds as long as the <code>_#value</code> method is
directly or indirectly included in the build.
链式方法支持定制版本,只要 <code>_#value</code> 包含或者间接包含在版本中。
<br>
<br>
In addition to lodash methods, wrappers have <code>Array</code> and <code>String</code> methods.
除了 lodash 的自身方法,包装后的对象还支持 <code>Array</code> <code>String</code> 的方法。
<br>
<br>
The wrapper <code>Array</code> methods are:<br>
支持 <code>Array</code> 的方法:<br>
<code>concat</code>, <code>join</code>, <code>pop</code>, <code>push</code>, <code>shift</code>, <code>sort</code>, <code>splice</code>, and <code>unshift</code>
<br>
<br>
The wrapper <code>String</code> methods are:<br>
支持 <code>String</code> 的方法:<br>
<code>replace</code> and <code>split</code>
<br>
<br>
Expand Down
2 changes: 1 addition & 1 deletion add.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@

<div id="main" onclick="">
<div id="content" class="markdown-body">
<div data-render-page="entry"><h2>add <a class="fa-link" href="./add" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L13554" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.add" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>add <a class="fa-link" href="./add" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L13547" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.add" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.add(augend, addend)</div>

<div data-render-html="/add"><p>Adds two numbers.</p>
Expand Down
2 changes: 1 addition & 1 deletion after.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@

<div id="main" onclick="">
<div id="content" class="markdown-body">
<div data-render-page="entry"><h2>after <a class="fa-link" href="./after" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L8097" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.after" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>after <a class="fa-link" href="./after" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L8090" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.after" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.after(n, func)</div>

<div data-render-html="/after"><p>The opposite of <code>_.before</code>; this method creates a function that invokes
Expand Down
Loading

0 comments on commit 6eaf402

Please sign in to comment.