Skip to content

Commit

Permalink
Fixed example in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthers committed Jul 24, 2017
1 parent d9a3523 commit 7ae0caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To wrap a string representing a GICS code, just build a new instance of GICS pas
const GICS = require("gics");

let validSectorLevelGICS = new GICS("10");
console.log(gics.sector) // "Energy"
console.log(validSectorLevelGICS.sector.name) // "Energy"

let validFullGICS = new GICS("10101010");
console.log(validFullGICS.sector.name) // "Energy"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gics",
"version": "1.0.2",
"version": "1.0.3",
"description": "A Javascript library to parse and manipulate GICS codes",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 7ae0caa

Please sign in to comment.