mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
672b1a91d0
commit
689dd69894
4
go.mod
4
go.mod
@ -30,7 +30,7 @@ require (
|
|||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
shylinux.com/x/ice v1.2.9
|
shylinux.com/x/ice v1.3.0
|
||||||
shylinux.com/x/icebergs v1.5.3
|
shylinux.com/x/icebergs v1.5.4
|
||||||
shylinux.com/x/toolkits v0.7.4
|
shylinux.com/x/toolkits v0.7.4
|
||||||
)
|
)
|
||||||
|
@ -30,7 +30,7 @@ require (
|
|||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
shylinux.com/x/ice v1.2.9
|
shylinux.com/x/ice v1.3.0
|
||||||
shylinux.com/x/icebergs v1.5.3
|
shylinux.com/x/icebergs v1.5.4
|
||||||
shylinux.com/x/toolkits v0.7.4
|
shylinux.com/x/toolkits v0.7.4
|
||||||
)
|
)
|
||||||
|
1
src/hi/he.sh
Normal file
1
src/hi/he.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
echo "hello world"
|
@ -1,4 +1,8 @@
|
|||||||
Volcanos(chat.ONIMPORT, {_init: function(can, msg) {
|
Volcanos(chat.ONIMPORT, {_init: function(can, msg) {
|
||||||
msg.Defer(function() { msg.Dump() })
|
msg.Defer(function() { msg.Dump() })
|
||||||
msg.Echo("hello world\n"+(can.Conf("content")||""))
|
msg.Echo("hello world\n"+(can.Conf("content")||""))
|
||||||
|
can.require(["he.js"], function() { }, function() { })
|
||||||
|
can.require(["/require/shylinux.com/x/contexts@v2.9.2/src/hi/he.js"], function() { }, function() { })
|
||||||
|
can.require(["http://localhost:9020/require/shylinux.com/x/contexts@v2.9.2/src/hi/he.js"], function() { }, function() { })
|
||||||
|
can.require(["https://shylinux.com/x/contexts@v2.9.2/src/hi/he.js?content=what"], function() { }, function() { })
|
||||||
}})
|
}})
|
@ -4,6 +4,11 @@ function show() {
|
|||||||
echo "hello world"
|
echo "hello world"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require "he.sh"
|
||||||
|
require "/require/shylinux.com/x/contexts@v2.9.2/src/hi/he.sh"
|
||||||
|
require "http://localhost:9020/require/shylinux.com/x/contexts@v2.9.2/src/hi/he.sh"
|
||||||
|
require "https://shylinux.com/x/contexts@v2.9.2/src/hi/he.sh?content=what"
|
||||||
|
|
||||||
show
|
show
|
||||||
_list
|
_list
|
||||||
echo
|
echo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user