Skip to content

Commit

Permalink
Include es5 build in package.json list. Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
hperrin committed Feb 27, 2018
1 parent 9dbfda0 commit 23d7a16
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ npm install --save nonblockjs
```

```html
<script type="text/javascript" src="node_modules/nonblockjs/NonBlock.js"></script>
<link type="text/css" rel="stylesheet" href="node_modules/nonblockjs/NonBlock.css" />
<script src="node_modules/nonblockjs/NonBlock.es5.js" type="text/javascript"></script>
<link href="node_modules/nonblockjs/NonBlock.css" type="text/css" rel="stylesheet" />
```

### Or use jsDelivr:

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/nonblockjs@1/NonBlock.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nonblockjs@1/NonBlock.css" />
<script src="https://cdn.jsdelivr.net/npm/nonblockjs@1/NonBlock.es5.js" type="text/javascript"></script>
<link href="https://cdn.jsdelivr.net/npm/nonblockjs@1/NonBlock.css" type="text/css" rel="stylesheet" />
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nonblockjs",
"version": "1.0.1",
"version": "1.0.2",
"description": "Nonblocking UI elements in JavaScript.",
"keywords": [
"non blocking",
Expand All @@ -17,6 +17,7 @@
"author": "Hunter Perrin",
"files": [
"NonBlock.css",
"NonBlock.es5.js",
"NonBlock.js"
],
"main": "NonBlock.js",
Expand Down

0 comments on commit 23d7a16

Please sign in to comment.