From 6a0eebef78af82bb3908c3561e7d77b37760cb35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=B2=E8=80=98=E2=84=A2?= Date: Thu, 18 Jun 2015 09:47:00 +0800 Subject: [PATCH] =?UTF-8?q?feat(segment):=20=E6=8F=90=E4=BE=9B=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E5=88=86=E8=AF=8D=E9=80=89=E9=A1=B9=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=85=B3=E9=97=AD=E5=88=86=E8=AF=8D=E3=80=82?= =?UTF-8?q?fixed=20#45,=20#26,=20#19.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/pinyin | 17 +++++--- package.json | 7 ++- src/pinyin.js | 15 ++++--- tests/test.js | 115 ++++++++++++++++++++++++++------------------------ 4 files changed, 82 insertions(+), 72 deletions(-) diff --git a/bin/pinyin b/bin/pinyin index a5bce7b..84d5969 100755 --- a/bin/pinyin +++ b/bin/pinyin @@ -1,13 +1,13 @@ #!/usr/bin/env node var commander = require('commander'); -var pinyin = require("../src/pinyin"); commander. version(require('../package').version). usage('[options] 汉字'). option('-v, --version', 'output the version number'). option('-s, --style