Skip to content

Commit

Permalink
Warning about Babel.
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Aug 22, 2015
1 parent ccb27e0 commit e517632
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .gitdown/similar-libraries.md
Original file line number Diff line number Diff line change
@@ -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) |
Expand Down Expand Up @@ -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.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
<h2 id="table-of-contents-toc-generator-introduction-of-es6-in-4-0-0">Introduction of ES6 in 4.0.0</h2>

[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.

<h2 id="table-of-contents-toc-generator-similar-libraries">Similar Libraries</h2>

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

<h3 id="table-of-contents-array-introduction-of-es6-in-4-0-0">Introduction of ES6 in 4.0.0</h3>

[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.

<h2 id="table-of-contents-array-download">Download</h2>

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

0 comments on commit e517632

Please sign in to comment.