From a1f55baf144aa46d0d025db769b14337de76c791 Mon Sep 17 00:00:00 2001 From: shaoying Date: Wed, 8 Feb 2023 23:09:28 +0800 Subject: [PATCH] opt some --- src/hi/hi.js | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/hi/hi.js diff --git a/src/hi/hi.js b/src/hi/hi.js new file mode 100644 index 00000000..fa20998c --- /dev/null +++ b/src/hi/hi.js @@ -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") + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +}})