Skip to content

Commit

Permalink
fix:bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaifuny committed Sep 15, 2017
1 parent c2dc9ce commit dfc0816
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jspm_packages

test.js

libs
lib
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';
var PinyinHelper = require('../pinyin4js/libs/PinyinHelper');
var ChineseHelper = require('../pinyin4js/libs/ChineseHelper');
var PinyinHelper = require('./src/PinyinHelper');
var ChineseHelper = require('./src/ChineseHelper');

;(function(){
global.PinyinHelper = PinyinHelper.PinyinHelper;
global.ChineseHelper = ChineseHelper.ChineseHelper;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pinyin4js",
"description": "A opensource java library for converting chinese to pinyin",
"version": "1.2.28",
"version": "1.2.2",
"author": "superbiger",
"license": "MIT",
"keywords": [
Expand All @@ -21,7 +21,7 @@
"url": "https://github.com/superbiger/pinyin4js/issues"
},
"scripts": {
"build": "babel src -d libs",
"build": "babel src -d lib",
"build-browser":"webpack -p index.js ./dist/pinyin4js.js",
"test": "mocha --compilers js:mocha-traceur test"
},
Expand Down

0 comments on commit dfc0816

Please sign in to comment.