1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
shaoying 2023-02-08 23:09:28 +08:00
parent 8477a5f831
commit a1f55baf14

43
src/hi/hi.js Normal file
View File

@ -0,0 +1,43 @@
Volcanos(chat.ONIMPORT, {_init: function(can, msg) {
msg.Defer(function() { msg.Dump() })
can.misc.Info("what", can.base.MergeURL(location.href, "hi", 123, "debug", undefined))
can.misc.Info("what", can.base.ParseURL(location.href))
can.misc.Info("what", can.base.ParseJSON(location.href))
can.misc.Info("what", can.base.ParseJSON('{"hi":1}'))
can.misc.Info("what", can.base.ParseSize('1k'))
can.misc.Info("what", can.base.ParseSize('1.2k'))
can.misc.Info("what", can.base.Size('1224'))
msg.Echo("hello world\n")
}})