Skip to content

Commit

Permalink
docs(README): add note about ES2015
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Jan 3, 2017
1 parent a014672 commit 5149e6c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ expected somewhere, there's also a function in the actual data.

It's your responsibility to then unit test those functions.

## Environment requirements

The environment you use to use `react-element-to-jsx-string` should have [ES2015](https://babeljs.io/learn-es2015/) support.

Use the [Babel polyfill](https://babeljs.io/docs/usage/polyfill/) or any other method that will make you
environment behave like an ES2015 environment.

## Test

```sh
Expand Down

0 comments on commit 5149e6c

Please sign in to comment.