Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
think2011 committed Jan 23, 2016
1 parent 6cddf5e commit f3858aa
Show file tree
Hide file tree
Showing 183 changed files with 902 additions and 969 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#L14046" 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#L14027" title="View in source." target="github">source</a> </h2>
<div class="signature">_.VERSION</div>

<div data-render-html="/VERSION"><p>(string): 语义化版本号</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#L13431" 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#L13412" 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>相加两个数</p>
Expand Down
618 changes: 297 additions & 321 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#L10271" 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#L10266" 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>分配来源对象的可枚举属性到目标对象上。
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#L10304" 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#L10299" 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>
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#L10335" 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#L10330" 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>
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#L10365" 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#L10360" 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>
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#L10388" 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#L10383" 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>根据 <code>object</code> 的路径获取值为数组。</p>
Expand Down
12 changes: 6 additions & 6 deletions attempt.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,23 +392,23 @@

<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#L12647" 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#L12642" 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
object. Any additional arguments are provided to <code>func</code> when it&#39;s invoked.</p>
<div data-render-html="/attempt"><p>尝试调用函数,返回结果 或者 错误对象。
任何附加的参数都会在调用时传给函数。</p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">func</span> <span class="param-type">(Function)</span> <div data-render-html="/#synthetic"><p>The function to attempt. </p>
<li><span class="param-name">func</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 <code>func</code> result or error object.</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 comment" spellcheck="true">// avoid throwing errors for invalid selectors</span>
<div data-render-html="/#synthetic"><pre><code class="lang-js"><span class="token comment" spellcheck="true">// 避免因为错误的选择器而抛出</span>
<span class="token keyword" >var</span> elements <span class="token operator" >=</span> _<span class="token punctuation" >.</span><span class="token function" >attempt</span><span class="token punctuation" >(</span><span class="token keyword" >function</span><span class="token punctuation" >(</span>selector<span class="token punctuation" >)</span> <span class="token punctuation" >{</span>
<span class="token keyword" >return</span> document<span class="token punctuation" >.</span><span class="token function" >querySelectorAll</span><span class="token punctuation" >(</span>selector<span class="token punctuation" >)</span><span class="token punctuation" >;</span>
<span class="token punctuation" >}</span><span class="token punctuation" >,</span> <span class="token string" >'>_>'</span><span class="token punctuation" >)</span><span class="token punctuation" >;</span>
Expand Down
4 changes: 1 addition & 3 deletions bind.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,13 +392,11 @@

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

<div data-render-html="/bind"><p>创建一个函数 <code>func</code>,这个函数的 <code>this</code> 会被绑定在 <code>thisArg</code>
并且任何附加在 <code>_.bind</code> 的参数会被传入到这个绑定函数上。
<br>
<br>
这个 <code>_.bind.placeholder</code> 的值,默认是以 <code>_</code> 作为附加部分参数的占位符。
<br>
<br>
Expand Down
11 changes: 5 additions & 6 deletions bindAll.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,21 +392,20 @@

<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#L12681" 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#L12675" 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
method.
<div data-render-html="/bindAll"><p>绑定对象的方法到对象本身,覆盖已存在的方法。
<br>
<br>
<strong>注意:</strong> This method doesn&#39;t set the &quot;length&quot; property of bound functions.</p>
<strong>注意:</strong> 这个方法不会设置 &quot;length&quot; 属性到约束的函数。</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 object to bind and assign the bound methods to. </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">methodNames</span> <span class="param-type">(...(string|string[])</span> <div data-render-html="/#synthetic"><p>The object method names to bind, specified individually or in arrays. </p>
<li><span class="param-name">methodNames</span> <span class="param-type">(...(string|string[])</span> <div data-render-html="/#synthetic"><p>要绑定的方法名 单独指定或指定在数组中。 </p>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(Object)</span></h3>
Expand Down
2 changes: 1 addition & 1 deletion bindKey.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>bindKey <a class="fa-link" href="./bindKey" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L8205" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.bindkey" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>bindKey <a class="fa-link" href="./bindKey" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L8204" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.bindkey" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.bindKey(object, key, [partials])</div>

<div data-render-html="/bindKey"><p>创建一个函数。
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#L11610" 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#L11605" 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>转换字符串为 <a href="https://en.wikipedia.org/wiki/CamelCase" target="_blank">驼峰写法</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#L11628" 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#L11623" 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>转换字符串首字母为大写,剩下为小写。</p>
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#L13462" 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#L13443" 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>根据 <code>precision</code> 向上舍入 <code>number</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#L11454" 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#L11449" 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>返回限制在 <code>min</code><code>max</code> 之间的值</p>
Expand Down
2 changes: 1 addition & 1 deletion clone.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>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#L8983" 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 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#L8978" 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>创建一个 <code>value</code> 的浅拷贝。
Expand Down
2 changes: 1 addition & 1 deletion cloneDeep.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>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#L9038" 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#L9033" 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>这个方法类似 <code>_.clone</code>,除了它会递归拷贝 <code>value</code></p>
Expand Down
Loading

0 comments on commit f3858aa

Please sign in to comment.