Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
think2011 committed Jan 13, 2016
1 parent 74c30fb commit cce1ebb
Show file tree
Hide file tree
Showing 164 changed files with 1,037 additions and 1,067 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#L14097" 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#L14087" 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
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#L13480" 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#L13470" 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
666 changes: 328 additions & 338 deletions all.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assign.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>assign <a class="fa-link" href="./assign" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L10285" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.assign" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>assign <a class="fa-link" href="./assign" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L10275" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.assign" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.assign(object, [sources])</div>

<div data-render-html="/assign"><p>Assigns own enumerable properties of source objects to the destination
Expand Down
2 changes: 1 addition & 1 deletion assignIn.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>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#L10318" 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 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#L10308" 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>This method is like <code>_.assign</code> except that it iterates over own and
Expand Down
2 changes: 1 addition & 1 deletion assignInWith.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>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#L10349" 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 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#L10339" 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>This method is like <code>_.assignIn</code> except that it accepts <code>customizer</code> which
Expand Down
2 changes: 1 addition & 1 deletion assignWith.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>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#L10379" 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 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#L10369" 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>This method is like <code>_.assign</code> except that it accepts <code>customizer</code> which
Expand Down
2 changes: 1 addition & 1 deletion at.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>at <a class="fa-link" href="./at" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L10403" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.at" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>at <a class="fa-link" href="./at" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L10393" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.at" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.at(object, [paths])</div>

<div data-render-html="/at"><p>Creates an array of values corresponding to <code>paths</code> of <code>object</code>.</p>
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#L12696" 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#L12686" 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
2 changes: 1 addition & 1 deletion 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#L12730" 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#L12720" 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 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#L11648" 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#L11638" 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#L11667" 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#L11657" 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
2 changes: 1 addition & 1 deletion ceil.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>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#L13511" 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#L13501" 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>
Expand Down
2 changes: 1 addition & 1 deletion clamp.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>clamp <a class="fa-link" href="./clamp" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L11489" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.clamp" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>clamp <a class="fa-link" href="./clamp" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L11479" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.clamp" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.clamp(number, [min], max)</div>

<div data-render-html="/clamp"><p>Returns a number whose value is limited to the given range specified
Expand Down
18 changes: 9 additions & 9 deletions clone.html
Original file line number Diff line number Diff line change
Expand Up @@ -395,25 +395,25 @@
<div data-render-page="entry"><h2>clone <a class="fa-link" href="./clone" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L8984" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.clone" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.clone(value)</div>

<div data-render-html="/clone"><p>Creates a shallow clone of <code>value</code>.
<div data-render-html="/clone"><p>创建一个 <code>value</code> 的浅拷贝。
<br>
<br>
<strong>注意:</strong> This method is loosely based on the
<strong>注意:</strong> 这个方法参考自
<a href="https://mdn.io/Structured_clone_algorithm" target="_blank">structured clone algorithm</a>
and supports cloning arrays, array buffers, booleans, date objects, maps,
numbers, <code>Object</code> objects, regexes, sets, strings, symbols, and typed
arrays. The own enumerable properties of <code>arguments</code> objects are cloned
as plain objects. An empty object is returned for uncloneable values such
as error objects, functions, DOM nodes, and WeakMaps.</p>
以及支持 arraysarray buffers booleans date objectsmaps
numbers <code>Object</code> objects, regexes, sets, strings, symbols, 以及 typed
arrays
参数对象的可枚举属性会拷贝为普通对象。
一些不可拷贝的对象,例如error objectsfunctions, DOM nodes, 以及 WeakMaps 会返回空对象。</p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">value</span> <span class="param-type">(*)</span> <div data-render-html="/#synthetic"><p>The value to clone. </p>
<li><span class="param-name">value</span> <span class="param-type">(*)</span> <div data-render-html="/#synthetic"><p>要拷贝的值 </p>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(*)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the cloned value.</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> users <span class="token operator" >=</span> <span class="token punctuation" >[</span>
Expand Down
8 changes: 4 additions & 4 deletions cloneDeep.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,19 +392,19 @@

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

<div data-render-html="/cloneDeep"><p>This method is like <code>_.clone</code> except that it recursively clones <code>value</code>.</p>
<div data-render-html="/cloneDeep"><p>这个方法类似 <code>_.clone</code>,除了它会递归拷贝 <code>value</code></p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">value</span> <span class="param-type">(*)</span> <div data-render-html="/#synthetic"><p>The value to recursively clone. </p>
<li><span class="param-name">value</span> <span class="param-type">(*)</span> <div data-render-html="/#synthetic"><p>要深拷贝的值 </p>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(*)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the deep cloned value.</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> users <span class="token operator" >=</span> <span class="token punctuation" >[</span>
Expand Down
10 changes: 5 additions & 5 deletions cloneDeepWith.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>cloneDeepWith <a class="fa-link" href="./cloneDeepWith" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L9070" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.clonedeepwith" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>cloneDeepWith <a class="fa-link" href="./cloneDeepWith" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L9069" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.clonedeepwith" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.cloneDeepWith(value, [customizer])</div>

<div data-render-html="/cloneDeepWith"><p>This method is like <code>_.cloneWith</code> except that it recursively clones <code>value</code>.</p>
<div data-render-html="/cloneDeepWith"><p>这个方法类似 <code>_.cloneWith</code>,除了它会递归拷贝 <code>value</code></p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">value</span> <span class="param-type">(*)</span> <div data-render-html="/#synthetic"><p>The value to recursively clone. </p>
<li><span class="param-name">value</span> <span class="param-type">(*)</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 cloning. </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">(*)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the deep cloned value.</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>value<span class="token punctuation" >)</span> <span class="token punctuation" >{</span>
Expand Down
Loading

0 comments on commit cce1ebb

Please sign in to comment.