Skip to content

Commit

Permalink
promise
Browse files Browse the repository at this point in the history
  • Loading branch information
Mårten Wikström committed Feb 20, 2018
1 parent 144bb13 commit 317f147
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ render(
);
```


----------

Alternatively, you can load it directly from the [UNPKG][unpkg] CDN using vanilla HTML and JavaScript:
Expand All @@ -72,6 +71,8 @@ history.init().then(function () {
});
```

(`app-history` is built for ES5 but require support for `Promise` objects. To ensure compatibility you may want to load a Promise polyfill too.)

## Usage

### Going back
Expand Down

0 comments on commit 317f147

Please sign in to comment.