您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

index.js 308B

1234567891011121314151617
  1. // Copyright 2014 Simon Lydell
  2. // X11 (“MIT”) Licensed. (See LICENSE.)
  3. var path = require("path")
  4. "use strict"
  5. function urix(aPath) {
  6. if (path.sep === "\\") {
  7. return aPath
  8. .replace(/\\/g, "/")
  9. .replace(/^[a-z]:\/?/i, "/")
  10. }
  11. return aPath
  12. }
  13. module.exports = urix