Skip to content

Commit

Permalink
修改实例错误
Browse files Browse the repository at this point in the history
  • Loading branch information
meikidd committed Dec 17, 2015
1 parent 37b0c85 commit 467035e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iso-639-1",
"version": "1.0.0",
"version": "1.0.1",
"description": "ISO-639-1 codes",
"main": "build/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ var ISO6391 = require('./iso-639-1')
console.log(ISO6391.getName('zh')) // 'Chinese'
console.log(ISO6391.getNativeName('zh')) // '中文'
console.log(ISO6391.getCode('Chinese')) // 'en'
console.log(ISO6391.getCode('中文')) // 'en'
console.log(ISO6391.getCode('Chinese')) // 'zh'
console.log(ISO6391.getCode('中文')) // 'zh'
console.log(ISO6391.validate('en')) // true
console.log(ISO6391.validate('xxx')) // false
Expand Down

0 comments on commit 467035e

Please sign in to comment.