From e5176328008159b08965214bb0ca6d090b262fc0 Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Sat, 22 Aug 2015 11:46:03 +0100 Subject: [PATCH] Warning about Babel. --- .gitdown/similar-libraries.md | 8 ++++---- README.md | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitdown/similar-libraries.md b/.gitdown/similar-libraries.md index 135e315..b22eb65 100644 --- a/.gitdown/similar-libraries.md +++ b/.gitdown/similar-libraries.md @@ -1,3 +1,7 @@ +## Introduction of ES6 in 4.0.0 + +[Similar Libraries](#rimilar-libraries) stats have been generated in 22-Nov-14 08:44:41 UTC. Since then Contents has evolved a lot. The source code is written in ES6 and depends on `babel-core` to run. In projects that already depend on Babel and use webpack to build packages, this is not going to be a problem. Other projects need to consider the relatively heavy weight of the generated package. + ## Similar Libraries | Feature | [contents](https://github.com/gajus/contents) | [toc](https://github.com/jgallen23/toc) | [jquery.tocify.js](https://github.com/gfranko/jquery.tocify.js) | @@ -61,7 +65,3 @@ Tree is a collection of nodes: } ] ``` - -### Introduction of ES6 in 4.0.0 - -[Similar Libraries](#rimilar-libraries) stats have been generated in 22-Nov-14 08:44:41 UTC. Since then Contents has evolved a lot. The source code is written in ES6 and depends on `babel-core` to run. In projects that already depend on Babel and use webpack to build packages, this is not going to be a problem. Other projects need to consider the relatively heavy weight of the generated package. diff --git a/README.md b/README.md index 8101185..c6624e8 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,12 @@ Table of contents generator. * [Usage](#table-of-contents-toc-generator-usage) * [Quick Start](#table-of-contents-toc-generator-usage-quick-start) * [Examples](#table-of-contents-toc-generator-usage-examples) + * [Introduction of ES6 in 4.0.0](#table-of-contents-toc-generator-introduction-of-es6-in-4-0-0) * [Similar Libraries](#table-of-contents-toc-generator-similar-libraries) * [Required 3rd Party Libraries](#table-of-contents-toc-generator-similar-libraries-required-3rd-party-libraries) * [Smooth Scrolling](#table-of-contents-toc-generator-similar-libraries-smooth-scrolling) * [Window Resize and `scroll` Event Handling](#table-of-contents-toc-generator-similar-libraries-window-resize-and-scroll-event-handling) * [Table of Contents Array](#table-of-contents-array) - * [Introduction of ES6 in 4.0.0](#table-of-contents-array-introduction-of-es6-in-4-0-0) * [Download](#table-of-contents-array-download) * [Configuration](#table-of-contents-array-configuration) * [Content Indexing](#table-of-contents-array-content-indexing) @@ -79,6 +79,10 @@ contents.eventEmitter().trigger('resize'); The code for all of the examples is in the [examples](./examples/) folder. [Raise an issue](https://github.com/gajus/contents/issues) if you are missing an example. +

Introduction of ES6 in 4.0.0

+ +[Similar Libraries](#rimilar-libraries) stats have been generated in 22-Nov-14 08:44:41 UTC. Since then Contents has evolved a lot. The source code is written in ES6 and depends on `babel-core` to run. In projects that already depend on Babel and use webpack to build packages, this is not going to be a problem. Other projects need to consider the relatively heavy weight of the generated package. +

Similar Libraries

| Feature | [contents](https://github.com/gajus/contents) | [toc](https://github.com/jgallen23/toc) | [jquery.tocify.js](https://github.com/gfranko/jquery.tocify.js) | @@ -143,10 +147,6 @@ Tree is a collection of nodes: ] ``` -

Introduction of ES6 in 4.0.0

- -[Similar Libraries](#rimilar-libraries) stats have been generated in 22-Nov-14 08:44:41 UTC. Since then Contents has evolved a lot. The source code is written in ES6 and depends on `babel-core` to run. In projects that already depend on Babel and use webpack to build packages, this is not going to be a problem. Other projects need to consider the relatively heavy weight of the generated package. -

Download

Using [NPM](https://www.npmjs.org/):