Skip to content

Commit 9ef1a06

Browse files
committed
Minor grammar, spelling, and clarity changes
1 parent 8c1da64 commit 9ef1a06

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
EVEoj
22
====
3-
The EVEoj project provides a simple way to access EVE static data and formulas for mechanics in JS. It can be used as a Node.js module or directly in a web-browser (including full IGB support).
3+
The EVEoj project provides a simple way to access EVE static data and formulas for mechanics in JS. It can be used as a Node.js module or directly in a web browser (including full IGB support).
44

55
See the [project website](https://eve-oj.com/) for additional details and API documentation.
66

@@ -28,15 +28,15 @@ Load jQuery and the EVEoj library into your web browser. If you are using the IG
2828
<script src="//cf.eve-oj.com/js/EVEoj-0.3.0.min.js"></script>
2929
```
3030

31-
In your custom JS, use the following code to point EVEoj at a hosted version of the static data.
31+
In your custom JS, use the following code to point EVEoj at a hosted version of the static data (where ver is the latest version of the CDN hosted data):
3232

3333
```javascript
34-
var SDD = EVEoj.SDD.Create("json", {path: "//cf.eve-oj.com/sdd/201604290"});
34+
var SDD = EVEoj.SDD.Create("json", {path: "//cf.eve-oj.com/sdd/" + ver});
3535
```
3636

3737
## Simple typeID Example
3838

39-
Once you have the library loaded and your SDD object created, your code is the same whether in Node.js or using a browser.
39+
Once you have the library loaded and your SDD object is created, your code is the same whether in Node.js or using a browser.
4040

4141
As an example, the following snippet uses Underscore and EVEoj to print out the ID of the "Skill Injector" item. This example assumes that the Underscore library has been loaded into the `_` variable (using either a script tag in your HTML or via require in Node.js).
4242

0 commit comments

Comments
 (0)