Skip to content

Commit

Permalink
README.md - fixed reference to unpkg.com file
Browse files Browse the repository at this point in the history
package.json - added main
bumped version to 0.2.1
  • Loading branch information
andrejpavlovic committed Jul 14, 2020
1 parent 530eb38 commit 84f073d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Getting Started

1. `npm install xpathjs` then `import 'xpathjs'` at the top of your js file<br><br>
or<br><br>
Add `<script src="https://unpkg.com/[email protected].0/dist/xpathjs.min.js"></script>` in the \<head> of your HTML document.
Add `<script src="https://unpkg.com/@mass-edge/[email protected].1/dist/xpathjs.min.js"></script>` in the \<head> of your HTML document.

1. Initialize XPathJS:
```javascript
Expand Down
4 changes: 2 additions & 2 deletions 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,7 +1,7 @@
{
"name": "@mass-edge/xpathjs",
"description": "XPathJS is a pure JavaScript implementation of XPath 1.0 and DOM Level 3 XPath specifications.",
"version": "0.2.0",
"version": "0.2.1",
"author": "Andrej Pavlovic <[email protected]>",
"license": "MIT",
"repository": {
Expand All @@ -12,6 +12,7 @@
"build": "grunt dist",
"prepublishOnly": "npm run build"
},
"main": "dist/xpathjs.min.js",
"files": [
"/dist/xpathjs.js",
"/dist/xpathjs.min.js",
Expand Down

0 comments on commit 84f073d

Please sign in to comment.