mirror of
https://github.com/SnapEnhance/scripting-docs.git
synced 2026-08-31 04:32:30 +00:00
fix(examples): lowercase module name (#1)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
// ==SE_module==
|
||||
// name: IPC Test
|
||||
// name: ipc_test
|
||||
// description: IPC Test
|
||||
// version: 1.0
|
||||
// author: John Doe
|
||||
// author: SnapEnhance
|
||||
// ==/SE_module==
|
||||
|
||||
var ipc = require("ipc")
|
||||
@@ -14,4 +15,4 @@ module.onSnapEnhanceLoad = context => {
|
||||
|
||||
module.onSnapMainActivityCreate = activity => {
|
||||
ipc.emit("myEvent", "hello", 255, activity.packageName)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user