Skip to content

Commit

Permalink
Delete unused codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed Feb 17, 2014
1 parent f48b32e commit f73ab26
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 113 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
},
"dependencies": {
"segment": "0.0.5",
"simplebig": "0.0.3",
"commander": "~1.1.1"
},
"devDependencies": {
Expand Down
22 changes: 0 additions & 22 deletions src/pinyin.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
/**
* pinyin(hans[, options]);
* 极速,灵活,全面的拼音转换算法。
*
* @author 闲耘™ (@hotoo <hotoo.cn[AT]gmail.com>)
* @version 2013/01/28, v2.1
*/

// FIXME: 其他几种风格的拼音测试未通过。

// 分词模块
var Segment = require("segment").Segment;
Expand Down Expand Up @@ -44,19 +35,6 @@ var DEFAULT_OPTIONS = {
heteronym: false // 多音字
};

// merge
// @parma {Object} 不定项参数。
// @return {Object} 新的对象。
function merge( /* ... */ ){
var obj = {};
for(var i=0,l=arguments.length; i<l; i++){
for(var k in arguments[i]){
if(!arguments[i].hasOwnProperty(k)){continue;}
obj[k] = arguments[i][k];
}
}
return obj;
}

// 将 more 的属性值,覆盖 origin 中已有的属性。
// @return 返回新的对象。
Expand Down
90 changes: 0 additions & 90 deletions tools/remote.js

This file was deleted.

0 comments on commit f73ab26

Please sign in to comment.