Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
think2011 committed Jan 18, 2016
1 parent 16c9f07 commit 17295af
Show file tree
Hide file tree
Showing 112 changed files with 666 additions and 696 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#L14078" 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#L14068" 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#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 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#L13453" 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
422 changes: 206 additions & 216 deletions all.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions at.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>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#L10390" 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#L10389" 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>
<div data-render-html="/at"><p>根据 <code>object</code> 的路径获取值为数组。</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 iterate over. </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">[paths]</span> <span class="param-type">(...(string|string[])</span> <div data-render-html="/#synthetic"><p>The property paths of elements to pick, specified individually or in arrays. </p>
<li><span class="param-name">[paths]</span> <span class="param-type">(...(string|string[])</span> <div data-render-html="/#synthetic"><p>要获取的对象的元素路径,单独指定或者指定在数组中 </p>
</div></li>
</ol>
<h3>返回值 <span class="return-type">(Array)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the new array of picked elements.</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> object <span class="token operator" >=</span> <span class="token punctuation" >{</span> <span class="token string" >'a'</span><span class="token punctuation" >:</span> <span class="token punctuation" >[</span><span class="token punctuation" >{</span> <span class="token string" >'b'</span><span class="token punctuation" >:</span> <span class="token punctuation" >{</span> <span class="token string" >'c'</span><span class="token punctuation" >:</span> <span class="token number" >3</span> <span class="token punctuation" >}</span> <span class="token punctuation" >}</span><span class="token punctuation" >,</span> <span class="token number" >4</span><span class="token punctuation" >]</span> <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#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 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#L12669" 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#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 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#L12703" 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#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 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#L11621" 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#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 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#L11640" 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#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 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#L13484" 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#L11475" 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#L11465" 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 cond.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>cond <a class="fa-link" href="./cond" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12748" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.cond" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>cond <a class="fa-link" href="./cond" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12738" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.cond" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.cond(pairs)</div>

<div data-render-html="/cond"><p>Creates a function that iterates over <code>pairs</code> invoking the corresponding
Expand Down
2 changes: 1 addition & 1 deletion conforms.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>conforms <a class="fa-link" href="./conforms" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12790" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.conforms" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>conforms <a class="fa-link" href="./conforms" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12780" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.conforms" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.conforms(source)</div>

<div data-render-html="/conforms"><p>Creates a function that invokes the predicate properties of <code>source</code> with
Expand Down
2 changes: 1 addition & 1 deletion constant.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>constant <a class="fa-link" href="./constant" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12810" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.constant" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>constant <a class="fa-link" href="./constant" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L12800" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.constant" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.constant(value)</div>

<div data-render-html="/constant"><p>Creates a function that returns <code>value</code>.</p>
Expand Down
12 changes: 6 additions & 6 deletions create.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,22 +392,22 @@

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

<div data-render-html="/create"><p>Creates an object that inherits from the <code>prototype</code> object. If a <code>properties</code>
object is provided its own enumerable properties are assigned to the created object.</p>
<div data-render-html="/create"><p>创建一个继承 <code>prototype</code> 的对象。
如果提供了 <code>properties</code>,它的可枚举属性会被分配到创建的对象上。</p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">prototype</span> <span class="param-type">(Object)</span> <div data-render-html="/#synthetic"><p>The object to inherit from. </p>
<li><span class="param-name">prototype</span> <span class="param-type">(Object)</span> <div data-render-html="/#synthetic"><p>要继承的对象 </p>
</div></li>
<li><span class="param-name">[properties]</span> <span class="param-type">(Object)</span> <div data-render-html="/#synthetic"><p>The properties to assign to the object. </p>
<li><span class="param-name">[properties]</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 the new 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 keyword" >function</span> <span class="token function" >Shape</span><span class="token punctuation" >(</span><span class="token punctuation" >)</span> <span class="token punctuation" >{</span>
Expand Down
2 changes: 1 addition & 1 deletion deburr.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>deburr <a class="fa-link" href="./deburr" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L11668" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.deburr" title="See the npm package." target="npm">npm</a></h2>
<div data-render-page="entry"><h2>deburr <a class="fa-link" href="./deburr" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.0.0-pre/lodash.src.js#L11658" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.deburr" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.deburr([string&#x3D;&#x27;&#x27;])</div>

<div data-render-html="/deburr"><p>Deburrs <code>string</code> by converting <a href="https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block" target="_blank">latin-1 supplementary letters</a>#Character_table)
Expand Down
9 changes: 4 additions & 5 deletions defaults.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,13 +392,12 @@

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

<div data-render-html="/defaults"><p>Assigns own and inherited enumerable properties of source objects to the
destination object for all destination properties that resolve to <code>undefined</code>.
Source objects are applied from left to right. Once a property is set,
additional values of the same property are ignored.
<div data-render-html="/defaults"><p>分配来源对象的可枚举属性到目标对象所有解析为 <code>undefined</code> 的属性上。
来源对象从左到右应用。
一旦设置了相同属性的值,后续的将被忽略掉。
<br>
<br>
<strong>注意:</strong> 这方法会改变源对象</p>
Expand Down
5 changes: 2 additions & 3 deletions defaultsDeep.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,10 @@

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

<div data-render-html="/defaultsDeep"><p>这个方法类似 <code>_.defaults</code> except that it recursively assigns
default properties.
<div data-render-html="/defaultsDeep"><p>这个方法类似 <code>_.defaults</code>,除了它会递归分配默认属性。
<br>
<br>
<strong>注意:</strong> 这方法会改变源对象</p>
Expand Down
Loading

0 comments on commit 17295af

Please sign in to comment.