1
0
forked from x/volcanos
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-08-16 10:40:58 +08:00
parent f8abb7e7c8
commit 24c5421e66
3 changed files with 1 additions and 29 deletions

21
page/package-lock.json generated
View File

@ -1,21 +0,0 @@
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"xterm": {
"version": "4.19.0",
"resolved": "https://registry.npmjs.org/xterm/-/xterm-4.19.0.tgz",
"integrity": "sha512-c3Cp4eOVsYY5Q839dR5IejghRPpxciGmLWWaP9g+ppfMeBChMeLa1DCA+pmX/jyDZ+zxFOmlJL/82qVdayVoGQ=="
},
"xterm-addon-fit": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/xterm-addon-fit/-/xterm-addon-fit-0.5.0.tgz",
"integrity": "sha512-DsS9fqhXHacEmsPxBJZvfj2la30Iz9xk+UKjhQgnYNkrUIN5CYLbw7WEfz117c7+S86S/tpHPfvNxJsF5/G8wQ=="
},
"xterm-addon-web-links": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/xterm-addon-web-links/-/xterm-addon-web-links-0.6.0.tgz",
"integrity": "sha512-H6XzjWWZu8FBo+fnYpxdPk9w5M6drbsvwPEJZGRS38MihiQaVFpKlCMKdfRgDbKGE530tw1yH54rhpZfHgt2/A=="
}
}
}

View File

@ -1,7 +0,0 @@
{
"dependencies": {
"xterm": "^4.19.0",
"xterm-addon-fit": "^0.5.0",
"xterm-addon-web-links": "^0.6.0"
}
}

View File

@ -320,7 +320,7 @@ var Volcanos = shy("火山架", {iceberg: "/chat/", volcano: "/frame.js", pack:
if (libs[i].indexOf("http") == 0) { continue }
if (libs[i].indexOf("/") == 0) { continue }
if (libs[i].indexOf(".css") == -1 && libs[i].indexOf(".js") == -1) { libs[i] = libs[i]+"/lib/"+libs[i]+".js" }
libs[i] = "/require/page/node_modules/"+libs[i]
libs[i] = "/require/node_modules/"+libs[i]
}
can.require(libs, cb, each)
},