项目原始demo,不改动
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
 
 
 
 

13 行
353 B

  1. /* eslint no-extend-native: 0 */
  2. var shell = require('./shell.js');
  3. var common = require('./src/common');
  4. Object.keys(shell).forEach(function (cmd) {
  5. global[cmd] = shell[cmd];
  6. });
  7. var _to = require('./src/to');
  8. String.prototype.to = common.wrap('to', _to);
  9. var _toEnd = require('./src/toEnd');
  10. String.prototype.toEnd = common.wrap('toEnd', _toEnd);