feat: 格式化代码 添加d.ts文件 去除引擎无关代码 清理单元测试

This commit is contained in:
2018-05-17 18:30:40 +08:00
parent 967e7d1beb
commit 88d71abb2a
44 changed files with 494 additions and 565 deletions

View File

@ -2,6 +2,7 @@
* 补丁和方法扩展
*/
(function () {
// noinspection JSUnresolvedVariable
if (!Array.prototype.copyPartialMatches) {
Object.defineProperty(Array.prototype, "copyPartialMatches", {
enumerable: false,
@ -10,7 +11,7 @@
if (e.toLowerCase().startsWith(token.toLowerCase())) {
array.push(e)
}
})
});
return array
}
});