mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 08:48:06 +08:00
9 lines
330 B
JavaScript
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({})
|
|
})
|
|
},
|
|
}}
|