summaryrefslogtreecommitdiffstats
path: root/packages/gitbook/src/output/index.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2017-01-06 17:15:30 +0100
committerGitHub <noreply@github.com>2017-01-06 17:15:30 +0100
commit7029c01806781f5ed74f175545ea154aa17cc6fd (patch)
treed87189690b5acc78acbd3d9688edc37b251541f3 /packages/gitbook/src/output/index.js
parent11893255d1167382b16871d2ca831c90a40af57d (diff)
downloadgitbook-7029c01806781f5ed74f175545ea154aa17cc6fd.zip
gitbook-7029c01806781f5ed74f175545ea154aa17cc6fd.tar.gz
gitbook-7029c01806781f5ed74f175545ea154aa17cc6fd.tar.bz2
Switch to markup-it for parsing (#1659)
* Start new parsers in gitbook itself * Update markup-it * Fix eslint errors * Adapt basic parsing for summary * Start tests for summaryFromDocument * Continue * Add parsing of glossary * Add back languages parsing * Adapt most tests for parsing * Adapt all tests 🙌 * Adapt travis tests * Bootstrap lerna before running tests * Fix lowercase in require (linux) * Fix command gitbook init * Fix generation of ready by init command * Fix generation of summary * Fix watch after serve * Add trademark to sidebar * Add back favicon to default theme * Open trademark in new tab
Diffstat (limited to 'packages/gitbook/src/output/index.js')
-rw-r--r--packages/gitbook/src/output/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook/src/output/index.js b/packages/gitbook/src/output/index.js
index 574b3df..6ef3b85 100644
--- a/packages/gitbook/src/output/index.js
+++ b/packages/gitbook/src/output/index.js
@@ -13,7 +13,7 @@ const generators = Immutable.List([
@return {Generator}
*/
function getGenerator(name) {
- return generators.find(function(generator) {
+ return generators.find((generator) => {
return generator.name == name;
});
}