From af143ae7dcc981578cb6a323bb9dd49311192233 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 21 Nov 2013 10:53:56 -0800 Subject: [PATCH] Update alias output in doc TOC. [ci skip] --- doc/README.md | 44 +++++++++---------- .../docdown/src/DocDown/MarkdownGenerator.php | 4 +- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/doc/README.md b/doc/README.md index dc8523fae..03080b92e 100644 --- a/doc/README.md +++ b/doc/README.md @@ -8,29 +8,29 @@ ## `Arrays` * `_.compact` * `_.difference` -* `_.drop -> rest` +* `_.drop` -> `rest` * `_.findIndex` * `_.findLastIndex` * `_.first` * `_.flatten` -* `_.head -> first` +* `_.head` -> `first` * `_.indexOf` * `_.initial` * `_.intersection` * `_.last` * `_.lastIndexOf` -* `_.object -> zipObject` +* `_.object` -> `zipObject` * `_.pull` * `_.range` * `_.remove` * `_.rest` * `_.sortedIndex` -* `_.tail -> rest` -* `_.take -> first` +* `_.tail` -> `rest` +* `_.take` -> `first` * `_.union` * `_.uniq` -* `_.unique -> uniq` -* `_.unzip -> zip` +* `_.unique` -> `uniq` +* `_.unzip` -> `zip` * `_.without` * `_.xor` * `_.zip` @@ -47,7 +47,7 @@ * `_.tap` * `_.prototype.chain` * `_.prototype.toString` -* `_.prototype.value -> valueOf` +* `_.prototype.value` -> `valueOf` * `_.prototype.valueOf` @@ -56,28 +56,28 @@ ## `Collections` -* `_.all -> every` -* `_.any -> some` +* `_.all` -> `every` +* `_.any` -> `some` * `_.at` -* `_.collect -> map` +* `_.collect` -> `map` * `_.contains` * `_.countBy` -* `_.detect -> find` -* `_.each -> forEach` -* `_.eachRight -> forEachRight` +* `_.detect` -> `find` +* `_.each` -> `forEach` +* `_.eachRight` -> `forEachRight` * `_.every` * `_.filter` * `_.find` * `_.findLast` -* `_.findWhere -> find` -* `_.foldl -> reduce` -* `_.foldr -> reduceRight` +* `_.findWhere` -> `find` +* `_.foldl` -> `reduce` +* `_.foldr` -> `reduceRight` * `_.forEach` * `_.forEachRight` * `_.groupBy` -* `_.include -> contains` +* `_.include` -> `contains` * `_.indexBy` -* `_.inject -> reduce` +* `_.inject` -> `reduce` * `_.invoke` * `_.map` * `_.max` @@ -87,7 +87,7 @@ * `_.reduceRight` * `_.reject` * `_.sample` -* `_.select -> filter` +* `_.select` -> `filter` * `_.shuffle` * `_.size` * `_.some` @@ -128,7 +128,7 @@ * `_.cloneDeep` * `_.create` * `_.defaults` -* `_.extend -> assign` +* `_.extend` -> `assign` * `_.findKey` * `_.findLastKey` * `_.forIn` @@ -158,7 +158,7 @@ * `_.keys` * `_.mapValues` * `_.merge` -* `_.methods -> functions` +* `_.methods` -> `functions` * `_.omit` * `_.pairs` * `_.pick` diff --git a/vendor/docdown/src/DocDown/MarkdownGenerator.php b/vendor/docdown/src/DocDown/MarkdownGenerator.php index f6ffb6ac7..fd7fc15c0 100644 --- a/vendor/docdown/src/DocDown/MarkdownGenerator.php +++ b/vendor/docdown/src/DocDown/MarkdownGenerator.php @@ -517,7 +517,7 @@ class MarkdownGenerator { // add entries foreach ($entries as $entry) { if ($entry->isAlias()) { - $result[] = MarkdownGenerator::interpolate('* `#{member}#{separator}#{name} -> #{realName}`', array( + $result[] = MarkdownGenerator::interpolate('* `#{member}#{separator}#{name}` -> `#{realName}`', array( 'hash' => $entry->hash, 'member' => $entry->member, 'name' => $entry->getName(), @@ -565,7 +565,7 @@ class MarkdownGenerator { foreach ($entry->{$kind} as $subentry) { $subentry->member = $member; if ($subentry->isAlias()) { - $result[] = MarkdownGenerator::interpolate('* `#{member}#{separator}#{name} -> #{realName}`', array( + $result[] = MarkdownGenerator::interpolate('* `#{member}#{separator}#{name}` -> `#{realName}`', array( 'hash' => $subentry->hash, 'member' => $subentry->member, 'name' => $subentry->getName(),