Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
think2011 committed Jan 17, 2016
1 parent d49255e commit 16c9f07
Show file tree
Hide file tree
Showing 91 changed files with 595 additions and 617 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#L14084" 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#L14078" 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
10 changes: 5 additions & 5 deletions add.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,21 +392,21 @@

<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#L13467" 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#L13463" 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>
<div data-render-html="/add"><p>相加两个数</p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">augend</span> <span class="param-type">(number)</span> <div data-render-html="/#synthetic"><p>The first number in an addition. </p>
<li><span class="param-name">augend</span> <span class="param-type">(number)</span> <div data-render-html="/#synthetic"><p>相加的第一个数 </p>
</div></li>
<li><span class="param-name">addend</span> <span class="param-type">(number)</span> <div data-render-html="/#synthetic"><p>The second number in an addition. </p>
<li><span class="param-name">addend</span> <span class="param-type">(number)</span> <div data-render-html="/#synthetic"><p>相加的第二个数 </p>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(number)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the total.</p>
<div class="returns"> <div data-render-html="/#synthetic"><p> 返回总和</p>
</div></div>
<h3>示例</h3>
<div data-render-html="/#synthetic"><pre><code class="lang-js">_<span class="token punctuation" >.</span><span class="token function" >add</span><span class="token punctuation" >(</span><span class="token number" >6</span><span class="token punctuation" >,</span> <span class="token number" >4</span><span class="token punctuation" >)</span><span class="token punctuation" >;</span>
Expand Down
384 changes: 188 additions & 196 deletions all.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions assignIn.html
Original file line number Diff line number Diff line change
Expand Up @@ -395,22 +395,22 @@
<div data-render-page="entry"><h2>assignIn <span class="aliases">extend</span> <a class="fa-link" href="./assignIn" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L10305" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.assignin" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.assignIn(object, [sources])</div>

<div data-render-html="/assignIn"><p>这个方法类似 <code>_.assign</code> except that it iterates over own and
inherited source properties.
<div data-render-html="/assignIn"><p>这个方法类似 <code>_.assign</code>
除了它会遍历并继承来源对象的属性。
<br>
<br>
<strong>注意:</strong> 这方法会改变源对象</p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">object</span> <span class="param-type">(Object)</span> <div data-render-html="/#synthetic"><p>The destination object. </p>
<li><span class="param-name">object</span> <span class="param-type">(Object)</span> <div data-render-html="/#synthetic"><p>目标对象 </p>
</div></li>
<li><span class="param-name">[sources]</span> <span class="param-type">(...Object)</span> <div data-render-html="/#synthetic"><p>The source objects. </p>
<li><span class="param-name">[sources]</span> <span class="param-type">(...Object)</span> <div data-render-html="/#synthetic"><p>来源对象 </p>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(Object)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns <code>object</code>.</p>
<div class="returns"> <div data-render-html="/#synthetic"><p> 返回对象</p>
</div></div>
<h3>示例</h3>
<div data-render-html="/#synthetic"><pre><code class="lang-js"><span class="token keyword" >function</span> <span class="token function" >Foo</span><span class="token punctuation" >(</span><span class="token punctuation" >)</span> <span class="token punctuation" >{</span>
Expand Down
15 changes: 7 additions & 8 deletions assignInWith.html
Original file line number Diff line number Diff line change
Expand Up @@ -395,26 +395,25 @@
<div data-render-page="entry"><h2>assignInWith <span class="aliases">extendWith</span> <a class="fa-link" href="./assignInWith" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L10336" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.assigninwith" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.assignInWith(object, sources, [customizer])</div>

<div data-render-html="/assignInWith"><p>这个方法类似 <code>_.assignIn</code> except that it accepts <code>customizer</code> which
is invoked to produce the assigned values. If <code>customizer</code> returns <code>undefined</code>
assignment is handled by the method instead. The <code>customizer</code> is invoked
with five arguments: (objValue, srcValue, key, object, source).
<div data-render-html="/assignInWith"><p>这个方法类似 <code>_.assignIn</code>
除了它接受一个 customizer<code>决定如何分配值。
如果</code>customizer<code>返回</code>undefined<code>将会分配处理方法代替。</code>customizer` 会传入5个参数:(objValue, srcValue, key, object, source)。
<br>
<br>
<strong>注意:</strong> 这方法会改变源对象</p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">object</span> <span class="param-type">(Object)</span> <div data-render-html="/#synthetic"><p>The destination object. </p>
<li><span class="param-name">object</span> <span class="param-type">(Object)</span> <div data-render-html="/#synthetic"><p>目标对象 </p>
</div></li>
<li><span class="param-name">sources</span> <span class="param-type">(...Object)</span> <div data-render-html="/#synthetic"><p>The source objects. </p>
<li><span class="param-name">sources</span> <span class="param-type">(...Object)</span> <div data-render-html="/#synthetic"><p>来源对象 </p>
</div></li>
<li><span class="param-name">[customizer]</span> <span class="param-type">(Function)</span> <div data-render-html="/#synthetic"><p>The function to customize assigned values. </p>
<li><span class="param-name">[customizer]</span> <span class="param-type">(Function)</span> <div data-render-html="/#synthetic"><p>这个函数决定分配的值 </p>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(Object)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns <code>object</code>.</p>
<div class="returns"> <div data-render-html="/#synthetic"><p> 返回对象</p>
</div></div>
<h3>示例</h3>
<div data-render-html="/#synthetic"><pre><code class="lang-js"><span class="token keyword" >function</span> <span class="token function" >customizer</span><span class="token punctuation" >(</span>objValue<span class="token punctuation" >,</span> srcValue<span class="token punctuation" >)</span> <span class="token punctuation" >{</span>
Expand Down
15 changes: 7 additions & 8 deletions assignWith.html
Original file line number Diff line number Diff line change
Expand Up @@ -395,26 +395,25 @@
<div data-render-page="entry"><h2>assignWith <a class="fa-link" href="./assignWith" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L10366" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.assignwith" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.assignWith(object, sources, [customizer])</div>

<div data-render-html="/assignWith"><p>这个方法类似 <code>_.assign</code> except that it accepts <code>customizer</code> which
is invoked to produce the assigned values. If <code>customizer</code> returns <code>undefined</code>
assignment is handled by the method instead. The <code>customizer</code> is invoked
with five arguments: (objValue, srcValue, key, object, source).
<div data-render-html="/assignWith"><p>这个方法类似 <code>_.assign</code>
除了它接受一个 customizer<code>决定如何分配值。
如果</code>customizer<code>返回</code>undefined<code>将会分配处理方法代替。</code>customizer` 会传入5个参数:(objValue, srcValue, key, object, source)。
<br>
<br>
<strong>注意:</strong> 这方法会改变源对象</p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">object</span> <span class="param-type">(Object)</span> <div data-render-html="/#synthetic"><p>The destination object. </p>
<li><span class="param-name">object</span> <span class="param-type">(Object)</span> <div data-render-html="/#synthetic"><p>目标对象 </p>
</div></li>
<li><span class="param-name">sources</span> <span class="param-type">(...Object)</span> <div data-render-html="/#synthetic"><p>The source objects. </p>
<li><span class="param-name">sources</span> <span class="param-type">(...Object)</span> <div data-render-html="/#synthetic"><p>来源对象 </p>
</div></li>
<li><span class="param-name">[customizer]</span> <span class="param-type">(Function)</span> <div data-render-html="/#synthetic"><p>The function to customize assigned values. </p>
<li><span class="param-name">[customizer]</span> <span class="param-type">(Function)</span> <div data-render-html="/#synthetic"><p>这个函数决定分配的值 </p>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(Object)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns <code>object</code>.</p>
<div class="returns"> <div data-render-html="/#synthetic"><p> 返回对象</p>
</div></div>
<h3>示例</h3>
<div data-render-html="/#synthetic"><pre><code class="lang-js"><span class="token keyword" >function</span> <span class="token function" >customizer</span><span class="token punctuation" >(</span>objValue<span class="token punctuation" >,</span> srcValue<span class="token punctuation" >)</span> <span class="token punctuation" >{</span>
Expand Down
2 changes: 1 addition & 1 deletion attempt.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>attempt <a class="fa-link" href="./attempt" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12683" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.attempt" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>attempt <a class="fa-link" href="./attempt" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12679" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.attempt" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.attempt(func)</div>

<div data-render-html="/attempt"><p>Attempts to invoke <code>func</code>, returning either the result or the caught error
Expand Down
4 changes: 2 additions & 2 deletions bindAll.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>bindAll <a class="fa-link" href="./bindAll" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12717" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.bindall" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>bindAll <a class="fa-link" href="./bindAll" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12713" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.bindall" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.bindAll(object, methodNames)</div>

<div data-render-html="/bindAll"><p>Binds methods of an object to the object itself, overwriting the existing
Expand All @@ -410,7 +410,7 @@ <h3>参数</h3>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(Object)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns <code>object</code>.</p>
<div class="returns"> <div data-render-html="/#synthetic"><p> 返回对象</p>
</div></div>
<h3>示例</h3>
<div data-render-html="/#synthetic"><pre><code class="lang-js"><span class="token keyword" >var</span> view <span class="token operator" >=</span> <span class="token punctuation" >{</span>
Expand Down
2 changes: 1 addition & 1 deletion camelCase.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>camelCase <a class="fa-link" href="./camelCase" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L11635" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.camelcase" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>camelCase <a class="fa-link" href="./camelCase" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L11631" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.camelcase" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.camelCase([string&#x3D;&#x27;&#x27;])</div>

<div data-render-html="/camelCase"><p>Converts <code>string</code> to <a href="https://en.wikipedia.org/wiki/CamelCase" target="_blank">camel case</a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion capitalize.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>capitalize <a class="fa-link" href="./capitalize" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L11654" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.capitalize" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>capitalize <a class="fa-link" href="./capitalize" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L11650" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.capitalize" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.capitalize([string&#x3D;&#x27;&#x27;])</div>

<div data-render-html="/capitalize"><p>Converts the first character of <code>string</code> to upper case and the remaining
Expand Down
10 changes: 5 additions & 5 deletions ceil.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,21 +392,21 @@

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

<div data-render-html="/ceil"><p>Computes <code>number</code> rounded up to <code>precision</code>.</p>
<div data-render-html="/ceil"><p>根据 <code>precision</code> 向上舍入 <code>number</code></p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">number</span> <span class="param-type">(number)</span> <div data-render-html="/#synthetic"><p>The number to round up. </p>
<li><span class="param-name">number</span> <span class="param-type">(number)</span> <div data-render-html="/#synthetic"><p>要向上舍入的值 </p>
</div></li>
<li><span class="param-name">[precision&#x3D;0]</span> <span class="param-type">(number)</span> <div data-render-html="/#synthetic"><p>The precision to round up to. </p>
<li><span class="param-name">[precision&#x3D;0]</span> <span class="param-type">(number)</span> <div data-render-html="/#synthetic"><p>精度 </p>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(number)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the rounded up number.</p>
<div class="returns"> <div data-render-html="/#synthetic"><p>返回向上舍入的结果</p>
</div></div>
<h3>示例</h3>
<div data-render-html="/#synthetic"><pre><code class="lang-js">_<span class="token punctuation" >.</span><span class="token function" >ceil</span><span class="token punctuation" >(</span><span class="token number" >4.006</span><span class="token punctuation" >)</span><span class="token punctuation" >;</span>
Expand Down
Loading

0 comments on commit 16c9f07

Please sign in to comment.