Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
think2011 committed Jan 4, 2016
1 parent e5da7e6 commit 6f64686
Show file tree
Hide file tree
Showing 298 changed files with 21,669 additions and 5,675 deletions.
6 changes: 4 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@
<li><a href="./ary" title="_.ary(func, [n=func.length])">ary</a></li>
<li><a href="./before" title="_.before(n, func)">before</a></li>
<li><a href="./bind" title="_.bind(func, thisArg, [partials])">bind</a></li>
<li><a href="./bindAll" title="_.bindAll(object, methodNames)">bindAll</a></li>
<li><a href="./bindKey" title="_.bindKey(object, key, [partials])">bindKey</a></li>
<li><a href="./curry" title="_.curry(func, [arity=func.length])">curry</a></li>
<li><a href="./curryRight" title="_.curryRight(func, [arity=func.length])">curryRight</a></li>
Expand Down Expand Up @@ -230,6 +229,7 @@
<li><a href="./isRegExp" title="_.isRegExp(value)">isRegExp</a></li>
<li><a href="./isSafeInteger" title="_.isSafeInteger(value)">isSafeInteger</a></li>
<li><a href="./isString" title="_.isString(value)">isString</a></li>
<li><a href="./isSymbol" title="_.isSymbol(value)">isSymbol</a></li>
<li><a href="./isTypedArray" title="_.isTypedArray(value)">isTypedArray</a></li>
<li><a href="./isUndefined" title="_.isUndefined(value)">isUndefined</a></li>
<li><a href="./lt" title="_.lt(value, other)">lt</a></li>
Expand Down Expand Up @@ -357,6 +357,8 @@
<li id="page-tree-utility" class="folder"><span class="folderPage">Utility</span>
<ul>
<li><a href="./attempt" title="_.attempt(func)">attempt</a></li>
<li><a href="./bindAll" title="_.bindAll(object, methodNames)">bindAll</a></li>
<li><a href="./cond" title="_.cond(pairs)">cond</a></li>
<li><a href="./conforms" title="_.conforms(source)">conforms</a></li>
<li><a href="./constant" title="_.constant(value)">constant</a></li>
<li><a href="./flow" title="_.flow([funcs])">flow</a></li>
Expand Down Expand Up @@ -412,7 +414,7 @@ <h2 id="-">啊哦,这里什么都没有..</h2>

<script>window.pubRef = {"href":"/404","relPath":"."};</script>
<script src="./js/jquery-1.11.3.min.js" ></script>
<script src="./js/lodash.js" ></script>
<script src="./js/lodash-zh.js" ></script>
<script src="./js/doc.js" ></script>
<!-- copyright -->
</body>
Expand Down
10 changes: 6 additions & 4 deletions VERSION.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="keywords" content="lodash中文文档|lodash中文|lodash中文版|lodash4中文文档|lodash4中文版 lodash 中文api |lodash翻译|lodash4翻译"/>
<meta name="description" content="lodash中文文档|lodash中文|lodash中文版|lodash4中文文档|lodash4中文版|lodash 中文api|lodash翻译|lodash4翻译"/>

<!-- html generated by pub-server from markdown /lodash.js -->
<!-- html generated by pub-server from markdown /lodash-zh.js -->

<title>lodash中文文档 VERSION</title>
<link rel="icon" href="./images/favicon.ico" type="image/x-icon">
Expand Down Expand Up @@ -172,7 +172,6 @@
<li><a href="./ary" title="_.ary(func, [n=func.length])">ary</a></li>
<li><a href="./before" title="_.before(n, func)">before</a></li>
<li><a href="./bind" title="_.bind(func, thisArg, [partials])">bind</a></li>
<li><a href="./bindAll" title="_.bindAll(object, methodNames)">bindAll</a></li>
<li><a href="./bindKey" title="_.bindKey(object, key, [partials])">bindKey</a></li>
<li><a href="./curry" title="_.curry(func, [arity=func.length])">curry</a></li>
<li><a href="./curryRight" title="_.curryRight(func, [arity=func.length])">curryRight</a></li>
Expand Down Expand Up @@ -230,6 +229,7 @@
<li><a href="./isRegExp" title="_.isRegExp(value)">isRegExp</a></li>
<li><a href="./isSafeInteger" title="_.isSafeInteger(value)">isSafeInteger</a></li>
<li><a href="./isString" title="_.isString(value)">isString</a></li>
<li><a href="./isSymbol" title="_.isSymbol(value)">isSymbol</a></li>
<li><a href="./isTypedArray" title="_.isTypedArray(value)">isTypedArray</a></li>
<li><a href="./isUndefined" title="_.isUndefined(value)">isUndefined</a></li>
<li><a href="./lt" title="_.lt(value, other)">lt</a></li>
Expand Down Expand Up @@ -357,6 +357,8 @@
<li id="page-tree-utility" class="folder"><span class="folderPage">Utility</span>
<ul>
<li><a href="./attempt" title="_.attempt(func)">attempt</a></li>
<li><a href="./bindAll" title="_.bindAll(object, methodNames)">bindAll</a></li>
<li><a href="./cond" title="_.cond(pairs)">cond</a></li>
<li><a href="./conforms" title="_.conforms(source)">conforms</a></li>
<li><a href="./constant" title="_.constant(value)">constant</a></li>
<li><a href="./flow" title="_.flow([funcs])">flow</a></li>
Expand Down Expand Up @@ -390,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#L14080" 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#L14251" 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 All @@ -403,7 +405,7 @@

<script>window.pubRef = {"href":"/VERSION","relPath":"."};</script>
<script src="./js/jquery-1.11.3.min.js" ></script>
<script src="./js/lodash.js" ></script>
<script src="./js/lodash-zh.js" ></script>
<script src="./js/doc.js" ></script>
<!-- copyright -->
</body>
Expand Down
41 changes: 21 additions & 20 deletions _.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="keywords" content="lodash中文文档|lodash中文|lodash中文版|lodash4中文文档|lodash4中文版 lodash 中文api |lodash翻译|lodash4翻译"/>
<meta name="description" content="lodash中文文档|lodash中文|lodash中文版|lodash4中文文档|lodash4中文版|lodash 中文api|lodash翻译|lodash4翻译"/>

<!-- html generated by pub-server from markdown /lodash.js -->
<!-- html generated by pub-server from markdown /lodash-zh.js -->

<title>lodash中文文档 _</title>
<link rel="icon" href="./images/favicon.ico" type="image/x-icon">
Expand Down Expand Up @@ -172,7 +172,6 @@
<li><a href="./ary" title="_.ary(func, [n=func.length])">ary</a></li>
<li><a href="./before" title="_.before(n, func)">before</a></li>
<li><a href="./bind" title="_.bind(func, thisArg, [partials])">bind</a></li>
<li><a href="./bindAll" title="_.bindAll(object, methodNames)">bindAll</a></li>
<li><a href="./bindKey" title="_.bindKey(object, key, [partials])">bindKey</a></li>
<li><a href="./curry" title="_.curry(func, [arity=func.length])">curry</a></li>
<li><a href="./curryRight" title="_.curryRight(func, [arity=func.length])">curryRight</a></li>
Expand Down Expand Up @@ -230,6 +229,7 @@
<li><a href="./isRegExp" title="_.isRegExp(value)">isRegExp</a></li>
<li><a href="./isSafeInteger" title="_.isSafeInteger(value)">isSafeInteger</a></li>
<li><a href="./isString" title="_.isString(value)">isString</a></li>
<li><a href="./isSymbol" title="_.isSymbol(value)">isSymbol</a></li>
<li><a href="./isTypedArray" title="_.isTypedArray(value)">isTypedArray</a></li>
<li><a href="./isUndefined" title="_.isUndefined(value)">isUndefined</a></li>
<li><a href="./lt" title="_.lt(value, other)">lt</a></li>
Expand Down Expand Up @@ -357,6 +357,8 @@
<li id="page-tree-utility" class="folder"><span class="folderPage">Utility</span>
<ul>
<li><a href="./attempt" title="_.attempt(func)">attempt</a></li>
<li><a href="./bindAll" title="_.bindAll(object, methodNames)">bindAll</a></li>
<li><a href="./cond" title="_.cond(pairs)">cond</a></li>
<li><a href="./conforms" title="_.conforms(source)">conforms</a></li>
<li><a href="./constant" title="_.constant(value)">constant</a></li>
<li><a href="./flow" title="_.flow([funcs])">flow</a></li>
Expand Down Expand Up @@ -390,7 +392,7 @@

<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#L1577" 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#L1499" 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
Expand All @@ -405,18 +407,17 @@
may be enabled using <code>_.chain</code>.
<br>
<br>
The execution of chained methods is lazy, that is, execution is deferred
until <code>_#value</code> is implicitly or explicitly called.
The execution of chained methods is lazy, that is, it&#39;s deferred until
<code>_#value</code> is implicitly or explicitly called.
<br>
<br>
Lazy evaluation allows several methods to support shortcut fusion. Shortcut
fusion is an optimization strategy which merge iteratee calls; this can help
to avoid the creation of intermediate data structures and greatly reduce the
number of iteratee executions. Sections of a chain sequence may qualify for
shortcut fusion if the section is applied to an array of at least two hundred
elements and any iteratees or predicates accept only one argument. The
heuristic for whether a section qualifies for shortcut fusion is subject
to change.
fusion is an optimization to merge iteratee calls; this avoids the creation
of intermediate arrays and can greatly reduce the number of iteratee executions.
Sections of a chain sequence qualify for shortcut fusion if the section is
applied to an array of at least two hundred elements and any iteratees
accept only one argument. The heuristic for whether a section qualifies
for shortcut fusion is subject to change.
<br>
<br>
Chaining is supported in custom builds as long as the <code>_#value</code> method is
Expand Down Expand Up @@ -455,16 +456,16 @@
<code>toLower</code>, <code>toInteger</code>, <code>toLength</code>, <code>toNumber</code>, <code>toSafeInteger</code>, toString<code>,</code>toUpper<code>,</code>trim<code>,</code>trimEnd<code>,</code>trimStart<code>,</code>truncate<code>,</code>unescape<code>,</code>uniqueId<code>,</code>upperCase<code>,</code>upperFirst<code>,</code>value<code>, and</code>words`</p>
</div>

<h3>Arguments</h3>
<ol>
<h3>参数</h3>
<ol>
<li><span class="param-name">value</span> <span class="param-type">(*)</span> <div data-render-html="/#synthetic"><p>The value to wrap in a <code>lodash</code> instance. </p>
</div></li>
</ol>
<h3>Returns <span class="return-type">(Object)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the new <code>lodash</code> wrapper instance.</p>
</ol>
<h3>返回值 <span class="return-type">(Object)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the new <code>lodash</code> wrapper instance.</p>
</div></div>
<h3>Example</h3>
<div data-render-html="/#synthetic"><pre><code class="lang-js"><span class="token keyword" >function</span> <span class="token function" >square</span><span class="token punctuation" >(</span>n<span class="token punctuation" >)</span> <span class="token punctuation" >{</span>
<h3>示例</h3>
<div data-render-html="/#synthetic"><pre><code class="lang-js"><span class="token keyword" >function</span> <span class="token function" >square</span><span class="token punctuation" >(</span>n<span class="token punctuation" >)</span> <span class="token punctuation" >{</span>
<span class="token keyword" >return</span> n <span class="token operator" >*</span> n<span class="token punctuation" >;</span>
<span class="token punctuation" >}</span>

Expand All @@ -491,7 +492,7 @@ <h3>Example</h3>

<script>window.pubRef = {"href":"/_","relPath":"."};</script>
<script src="./js/jquery-1.11.3.min.js" ></script>
<script src="./js/lodash.js" ></script>
<script src="./js/lodash-zh.js" ></script>
<script src="./js/doc.js" ></script>
<!-- copyright -->
</body>
Expand Down
24 changes: 13 additions & 11 deletions add.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="keywords" content="lodash中文文档|lodash中文|lodash中文版|lodash4中文文档|lodash4中文版 lodash 中文api |lodash翻译|lodash4翻译"/>
<meta name="description" content="lodash中文文档|lodash中文|lodash中文版|lodash4中文文档|lodash4中文版|lodash 中文api|lodash翻译|lodash4翻译"/>

<!-- html generated by pub-server from markdown /lodash.js -->
<!-- html generated by pub-server from markdown /lodash-zh.js -->

<title>lodash中文文档 add</title>
<link rel="icon" href="./images/favicon.ico" type="image/x-icon">
Expand Down Expand Up @@ -172,7 +172,6 @@
<li><a href="./ary" title="_.ary(func, [n=func.length])">ary</a></li>
<li><a href="./before" title="_.before(n, func)">before</a></li>
<li><a href="./bind" title="_.bind(func, thisArg, [partials])">bind</a></li>
<li><a href="./bindAll" title="_.bindAll(object, methodNames)">bindAll</a></li>
<li><a href="./bindKey" title="_.bindKey(object, key, [partials])">bindKey</a></li>
<li><a href="./curry" title="_.curry(func, [arity=func.length])">curry</a></li>
<li><a href="./curryRight" title="_.curryRight(func, [arity=func.length])">curryRight</a></li>
Expand Down Expand Up @@ -230,6 +229,7 @@
<li><a href="./isRegExp" title="_.isRegExp(value)">isRegExp</a></li>
<li><a href="./isSafeInteger" title="_.isSafeInteger(value)">isSafeInteger</a></li>
<li><a href="./isString" title="_.isString(value)">isString</a></li>
<li><a href="./isSymbol" title="_.isSymbol(value)">isSymbol</a></li>
<li><a href="./isTypedArray" title="_.isTypedArray(value)">isTypedArray</a></li>
<li><a href="./isUndefined" title="_.isUndefined(value)">isUndefined</a></li>
<li><a href="./lt" title="_.lt(value, other)">lt</a></li>
Expand Down Expand Up @@ -357,6 +357,8 @@
<li id="page-tree-utility" class="folder"><span class="folderPage">Utility</span>
<ul>
<li><a href="./attempt" title="_.attempt(func)">attempt</a></li>
<li><a href="./bindAll" title="_.bindAll(object, methodNames)">bindAll</a></li>
<li><a href="./cond" title="_.cond(pairs)">cond</a></li>
<li><a href="./conforms" title="_.conforms(source)">conforms</a></li>
<li><a href="./constant" title="_.constant(value)">constant</a></li>
<li><a href="./flow" title="_.flow([funcs])">flow</a></li>
Expand Down Expand Up @@ -390,24 +392,24 @@

<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#L13466" 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#L13634" 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>

<h3>Arguments</h3>
<ol>
<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>
</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>
</div></li>
</ol>
<h3>Returns <span class="return-type">(number)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the total.</p>
</ol>
<h3>返回值 <span class="return-type">(number)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> Returns the total.</p>
</div></div>
<h3>Example</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>
<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>
<span class="token comment" spellcheck="true">// => 10</span>
</code></pre>
</div>
Expand All @@ -418,7 +420,7 @@ <h3>Example</h3>

<script>window.pubRef = {"href":"/add","relPath":"."};</script>
<script src="./js/jquery-1.11.3.min.js" ></script>
<script src="./js/lodash.js" ></script>
<script src="./js/lodash-zh.js" ></script>
<script src="./js/doc.js" ></script>
<!-- copyright -->
</body>
Expand Down
Loading

0 comments on commit 6f64686

Please sign in to comment.