1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 08:48:06 +08:00
2020-12-02 15:26:35 +08:00

9 lines
330 B
JavaScript

Plugin["favor/index.js"] = function(field, option, output) {return {
share: function(event) {var plugin = field.Plugin
plugin.Run(event, ["share", option.txt.value], function(msg) {
kit.AppendChilds(output, [{img: [msg.result.join("")]}])
typeof cb == "function" && cb({})
})
},
}}