Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
think2011 committed Jun 12, 2016
1 parent 4c5300d commit 4d1b909
Show file tree
Hide file tree
Showing 312 changed files with 1,244 additions and 637 deletions.
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/lodash-zh.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

548 changes: 548 additions & 0 deletions .idea/workspace.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<li><a href="./fromPairs" title="_.fromPairs(pairs)">fromPairs</a></li>
<li><a href="./head" title="_.head(array)">head <span class="aliases">first</span></a></li>
<li><a href="./indexOf" title="_.indexOf(array, value, [fromIndex=0])">indexOf</a></li>
<li><a href="./initial" title="_.initial(需要检索的数组)">initial</a></li>
<li><a href="./initial" title="_.initial()">initial</a></li>
<li><a href="./intersection" title="_.intersection([arrays])">intersection</a></li>
<li><a href="./intersectionBy" title="_.intersectionBy([arrays], [iteratee=_.identity])">intersectionBy</a></li>
<li><a href="./intersectionWith" title="_.intersectionWith([arrays], [comparator])">intersectionWith</a></li>
Expand Down Expand Up @@ -346,7 +346,7 @@
<li><a href="./padStart" title="_.padStart([string=&#39;&#39;], [length=0], [chars=&#39; &#39;])">padStart</a></li>
<li><a href="./parseInt" title="_.parseInt(string, [radix])">parseInt</a></li>
<li><a href="./repeat" title="_.repeat([string=&#39;&#39;], [n=0])">repeat</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern, 要替换的内容)">replace</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern)">replace</a></li>
<li><a href="./snakeCase" title="_.snakeCase([string=&#39;&#39;])">snakeCase</a></li>
<li><a href="./split" title="_.split([string=&#39;&#39;], [separator], [limit])">split</a></li>
<li><a href="./startCase" title="_.startCase([string=&#39;&#39;])">startCase</a></li>
Expand Down
4 changes: 2 additions & 2 deletions VERSION.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<li><a href="./fromPairs" title="_.fromPairs(pairs)">fromPairs</a></li>
<li><a href="./head" title="_.head(array)">head <span class="aliases">first</span></a></li>
<li><a href="./indexOf" title="_.indexOf(array, value, [fromIndex=0])">indexOf</a></li>
<li><a href="./initial" title="_.initial(需要检索的数组)">initial</a></li>
<li><a href="./initial" title="_.initial()">initial</a></li>
<li><a href="./intersection" title="_.intersection([arrays])">intersection</a></li>
<li><a href="./intersectionBy" title="_.intersectionBy([arrays], [iteratee=_.identity])">intersectionBy</a></li>
<li><a href="./intersectionWith" title="_.intersectionWith([arrays], [comparator])">intersectionWith</a></li>
Expand Down Expand Up @@ -346,7 +346,7 @@
<li><a href="./padStart" title="_.padStart([string=&#39;&#39;], [length=0], [chars=&#39; &#39;])">padStart</a></li>
<li><a href="./parseInt" title="_.parseInt(string, [radix])">parseInt</a></li>
<li><a href="./repeat" title="_.repeat([string=&#39;&#39;], [n=0])">repeat</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern, 要替换的内容)">replace</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern)">replace</a></li>
<li><a href="./snakeCase" title="_.snakeCase([string=&#39;&#39;])">snakeCase</a></li>
<li><a href="./split" title="_.split([string=&#39;&#39;], [separator], [limit])">split</a></li>
<li><a href="./startCase" title="_.startCase([string=&#39;&#39;])">startCase</a></li>
Expand Down
4 changes: 2 additions & 2 deletions _.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<li><a href="./fromPairs" title="_.fromPairs(pairs)">fromPairs</a></li>
<li><a href="./head" title="_.head(array)">head <span class="aliases">first</span></a></li>
<li><a href="./indexOf" title="_.indexOf(array, value, [fromIndex=0])">indexOf</a></li>
<li><a href="./initial" title="_.initial(需要检索的数组)">initial</a></li>
<li><a href="./initial" title="_.initial()">initial</a></li>
<li><a href="./intersection" title="_.intersection([arrays])">intersection</a></li>
<li><a href="./intersectionBy" title="_.intersectionBy([arrays], [iteratee=_.identity])">intersectionBy</a></li>
<li><a href="./intersectionWith" title="_.intersectionWith([arrays], [comparator])">intersectionWith</a></li>
Expand Down Expand Up @@ -346,7 +346,7 @@
<li><a href="./padStart" title="_.padStart([string=&#39;&#39;], [length=0], [chars=&#39; &#39;])">padStart</a></li>
<li><a href="./parseInt" title="_.parseInt(string, [radix])">parseInt</a></li>
<li><a href="./repeat" title="_.repeat([string=&#39;&#39;], [n=0])">repeat</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern, 要替换的内容)">replace</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern)">replace</a></li>
<li><a href="./snakeCase" title="_.snakeCase([string=&#39;&#39;])">snakeCase</a></li>
<li><a href="./split" title="_.split([string=&#39;&#39;], [separator], [limit])">split</a></li>
<li><a href="./startCase" title="_.startCase([string=&#39;&#39;])">startCase</a></li>
Expand Down
4 changes: 2 additions & 2 deletions add.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<li><a href="./fromPairs" title="_.fromPairs(pairs)">fromPairs</a></li>
<li><a href="./head" title="_.head(array)">head <span class="aliases">first</span></a></li>
<li><a href="./indexOf" title="_.indexOf(array, value, [fromIndex=0])">indexOf</a></li>
<li><a href="./initial" title="_.initial(需要检索的数组)">initial</a></li>
<li><a href="./initial" title="_.initial()">initial</a></li>
<li><a href="./intersection" title="_.intersection([arrays])">intersection</a></li>
<li><a href="./intersectionBy" title="_.intersectionBy([arrays], [iteratee=_.identity])">intersectionBy</a></li>
<li><a href="./intersectionWith" title="_.intersectionWith([arrays], [comparator])">intersectionWith</a></li>
Expand Down Expand Up @@ -346,7 +346,7 @@
<li><a href="./padStart" title="_.padStart([string=&#39;&#39;], [length=0], [chars=&#39; &#39;])">padStart</a></li>
<li><a href="./parseInt" title="_.parseInt(string, [radix])">parseInt</a></li>
<li><a href="./repeat" title="_.repeat([string=&#39;&#39;], [n=0])">repeat</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern, 要替换的内容)">replace</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern)">replace</a></li>
<li><a href="./snakeCase" title="_.snakeCase([string=&#39;&#39;])">snakeCase</a></li>
<li><a href="./split" title="_.split([string=&#39;&#39;], [separator], [limit])">split</a></li>
<li><a href="./startCase" title="_.startCase([string=&#39;&#39;])">startCase</a></li>
Expand Down
4 changes: 2 additions & 2 deletions after.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<li><a href="./fromPairs" title="_.fromPairs(pairs)">fromPairs</a></li>
<li><a href="./head" title="_.head(array)">head <span class="aliases">first</span></a></li>
<li><a href="./indexOf" title="_.indexOf(array, value, [fromIndex=0])">indexOf</a></li>
<li><a href="./initial" title="_.initial(需要检索的数组)">initial</a></li>
<li><a href="./initial" title="_.initial()">initial</a></li>
<li><a href="./intersection" title="_.intersection([arrays])">intersection</a></li>
<li><a href="./intersectionBy" title="_.intersectionBy([arrays], [iteratee=_.identity])">intersectionBy</a></li>
<li><a href="./intersectionWith" title="_.intersectionWith([arrays], [comparator])">intersectionWith</a></li>
Expand Down Expand Up @@ -346,7 +346,7 @@
<li><a href="./padStart" title="_.padStart([string=&#39;&#39;], [length=0], [chars=&#39; &#39;])">padStart</a></li>
<li><a href="./parseInt" title="_.parseInt(string, [radix])">parseInt</a></li>
<li><a href="./repeat" title="_.repeat([string=&#39;&#39;], [n=0])">repeat</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern, 要替换的内容)">replace</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern)">replace</a></li>
<li><a href="./snakeCase" title="_.snakeCase([string=&#39;&#39;])">snakeCase</a></li>
<li><a href="./split" title="_.split([string=&#39;&#39;], [separator], [limit])">split</a></li>
<li><a href="./startCase" title="_.startCase([string=&#39;&#39;])">startCase</a></li>
Expand Down
21 changes: 7 additions & 14 deletions all.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<li><a href="./fromPairs" title="_.fromPairs(pairs)">fromPairs</a></li>
<li><a href="./head" title="_.head(array)">head <span class="aliases">first</span></a></li>
<li><a href="./indexOf" title="_.indexOf(array, value, [fromIndex=0])">indexOf</a></li>
<li><a href="./initial" title="_.initial(需要检索的数组)">initial</a></li>
<li><a href="./initial" title="_.initial()">initial</a></li>
<li><a href="./intersection" title="_.intersection([arrays])">intersection</a></li>
<li><a href="./intersectionBy" title="_.intersectionBy([arrays], [iteratee=_.identity])">intersectionBy</a></li>
<li><a href="./intersectionWith" title="_.intersectionWith([arrays], [comparator])">intersectionWith</a></li>
Expand Down Expand Up @@ -346,7 +346,7 @@
<li><a href="./padStart" title="_.padStart([string=&#39;&#39;], [length=0], [chars=&#39; &#39;])">padStart</a></li>
<li><a href="./parseInt" title="_.parseInt(string, [radix])">parseInt</a></li>
<li><a href="./repeat" title="_.repeat([string=&#39;&#39;], [n=0])">repeat</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern, 要替换的内容)">replace</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern)">replace</a></li>
<li><a href="./snakeCase" title="_.snakeCase([string=&#39;&#39;])">snakeCase</a></li>
<li><a href="./split" title="_.split([string=&#39;&#39;], [separator], [limit])">split</a></li>
<li><a href="./startCase" title="_.startCase([string=&#39;&#39;])">startCase</a></li>
Expand Down Expand Up @@ -473,18 +473,16 @@ <h2 id="-">特点</h2>
</ul>
<h2 id="-">关于翻译</h2>
<ul>
<li>该文档由 <a href="https://github.com/think2011/" target="_blank">think2011</a> 翻译,遵循 <a href="https://github.com/jldec/lodash-doc-src/blob/master/LICENSE" target="_blank">MIT协议</a>, 定时保持与官方同步,翻译质量可能没法特别好,但会保证尽可能反复细心。</li>
<li>该文档由 <a href="https://github.com/think2011/" target="_blank">think2011</a> 翻译,遵循 <a href="https://github.com/jldec/lodash-doc-src/blob/master/LICENSE" target="_blank">MIT协议</a>,翻译质量可能没法特别好,但会保证尽可能反复细心。</li>
<li>如果您有任何建议,或者意见,<a href="https://github.com/think2011/lodash-zh/issues" target="_blank">欢迎在此讨论,及时更正 ;-)</a>。</li>
</ul>
</div>
</div>
<div data-render-page="default"><div data-render-html="/getting-started"><h2 id="-">下载</h2>
<p>查看 <a href="https://github.com/lodash/lodash/wiki/build-differences" target="_blank">版本区别</a> 来选择适合你的版本</p>
<ul>
<li><a href="https://raw.github.com/lodash/lodash/3.10.1/lodash.js" target="_blank">现代版本</a> (<a href="https://raw.github.com/lodash/lodash/3.10.1/lodash.min.js" target="_blank">压缩版</a>)
适合现代浏览器(运行环境),例如:Chrome, Firefox, IE ≥ 9, &amp; Safari ≥ 5.1</li>
<li><a href="https://raw.github.com/lodash/lodash-compat/3.10.1/lodash.js" target="_blank">兼容版本</a> (<a href="https://raw.github.com/lodash/lodash-compat/3.10.1/lodash.min.js" target="_blank">压缩版</a>)
同时兼容旧的浏览器(运行环境),例如:IE ≤ 8 &amp; PhantomJS</li>
<li>【现代版本】适合现代浏览器(运行环境),例如:Chrome, Firefox, IE ≥ 9, &amp; Safari ≥ 5.1</li>
<li>【兼容版本】同时兼容旧的浏览器(运行环境),例如:IE ≤ 8 &amp; PhantomJS</li>
</ul>
<h2 id="-">引入</h2>
<p>浏览器中使用:</p>
Expand Down Expand Up @@ -1646,15 +1644,11 @@ <h3>示例</h3>
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript></div>
<div data-render-page="entry"><h2>initial <a class="fa-link" href="./initial" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L6072" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.initial" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.initial(需要检索的数组)</div>
<div class="signature">_.initial()</div>

<div data-render-html="/initial"><p>获取数组中除了最后一个元素之外的所有元素</p>
</div>

<h3>参数</h3>
<ol>
<li><span class="param-name">需要检索的数组</span> <span class="param-type">(Array)</span> <div data-render-html="/#synthetic">&nbsp;</div></li>
</ol>
<h3>返回值 <span class="return-type">(Array)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> 返回没有最后一个元素的数组</p>
</div></div>
Expand Down Expand Up @@ -14519,7 +14513,7 @@ <h3>示例</h3>
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript></div>
<div data-render-page="entry"><h2>replace <a class="fa-link" href="./replace" title="Link to this entry.">&#xf0c1;</a> <a href="https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L12451" title="View in source." target="github">source</a> <a href="https://www.npmjs.com/package/lodash.replace" title="See the npm package." target="npm">npm</a></h2>
<div class="signature">_.replace([string&#x3D;&#x27;&#x27;], pattern, 要替换的内容)</div>
<div class="signature">_.replace([string&#x3D;&#x27;&#x27;], pattern)</div>

<div data-render-html="/replace"><p>替换字符串中匹配的内容为给定的内容
<br>
Expand All @@ -14533,7 +14527,6 @@ <h3>参数</h3>
</div></li>
<li><span class="param-name">pattern</span> <span class="param-type">(RegExp|string)</span> <div data-render-html="/#synthetic"><p>要匹配的内容 </p>
</div></li>
<li><span class="param-name">要替换的内容</span> <span class="param-type">(Function|string)</span> <div data-render-html="/#synthetic">&nbsp;</div></li>
</ol>
<h3>返回值 <span class="return-type">(string)</span></h3>
<div class="returns"> <div data-render-html="/#synthetic"><p> 返回替换完成的字符串</p>
Expand Down
4 changes: 2 additions & 2 deletions ary.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<li><a href="./fromPairs" title="_.fromPairs(pairs)">fromPairs</a></li>
<li><a href="./head" title="_.head(array)">head <span class="aliases">first</span></a></li>
<li><a href="./indexOf" title="_.indexOf(array, value, [fromIndex=0])">indexOf</a></li>
<li><a href="./initial" title="_.initial(需要检索的数组)">initial</a></li>
<li><a href="./initial" title="_.initial()">initial</a></li>
<li><a href="./intersection" title="_.intersection([arrays])">intersection</a></li>
<li><a href="./intersectionBy" title="_.intersectionBy([arrays], [iteratee=_.identity])">intersectionBy</a></li>
<li><a href="./intersectionWith" title="_.intersectionWith([arrays], [comparator])">intersectionWith</a></li>
Expand Down Expand Up @@ -346,7 +346,7 @@
<li><a href="./padStart" title="_.padStart([string=&#39;&#39;], [length=0], [chars=&#39; &#39;])">padStart</a></li>
<li><a href="./parseInt" title="_.parseInt(string, [radix])">parseInt</a></li>
<li><a href="./repeat" title="_.repeat([string=&#39;&#39;], [n=0])">repeat</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern, 要替换的内容)">replace</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern)">replace</a></li>
<li><a href="./snakeCase" title="_.snakeCase([string=&#39;&#39;])">snakeCase</a></li>
<li><a href="./split" title="_.split([string=&#39;&#39;], [separator], [limit])">split</a></li>
<li><a href="./startCase" title="_.startCase([string=&#39;&#39;])">startCase</a></li>
Expand Down
4 changes: 2 additions & 2 deletions assign.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<li><a href="./fromPairs" title="_.fromPairs(pairs)">fromPairs</a></li>
<li><a href="./head" title="_.head(array)">head <span class="aliases">first</span></a></li>
<li><a href="./indexOf" title="_.indexOf(array, value, [fromIndex=0])">indexOf</a></li>
<li><a href="./initial" title="_.initial(需要检索的数组)">initial</a></li>
<li><a href="./initial" title="_.initial()">initial</a></li>
<li><a href="./intersection" title="_.intersection([arrays])">intersection</a></li>
<li><a href="./intersectionBy" title="_.intersectionBy([arrays], [iteratee=_.identity])">intersectionBy</a></li>
<li><a href="./intersectionWith" title="_.intersectionWith([arrays], [comparator])">intersectionWith</a></li>
Expand Down Expand Up @@ -346,7 +346,7 @@
<li><a href="./padStart" title="_.padStart([string=&#39;&#39;], [length=0], [chars=&#39; &#39;])">padStart</a></li>
<li><a href="./parseInt" title="_.parseInt(string, [radix])">parseInt</a></li>
<li><a href="./repeat" title="_.repeat([string=&#39;&#39;], [n=0])">repeat</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern, 要替换的内容)">replace</a></li>
<li><a href="./replace" title="_.replace([string=&#39;&#39;], pattern)">replace</a></li>
<li><a href="./snakeCase" title="_.snakeCase([string=&#39;&#39;])">snakeCase</a></li>
<li><a href="./split" title="_.split([string=&#39;&#39;], [separator], [limit])">split</a></li>
<li><a href="./startCase" title="_.startCase([string=&#39;&#39;])">startCase</a></li>
Expand Down
Loading

0 comments on commit 4d1b909

Please sign in to comment.