UNPKG
nodebb-plugin-web-push
Version:
latest (0.7.6)
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.0
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.0
0.2.1
0.1.0
A starter kit for quickly creating NodeBB plugins
nodebb/nodebb-plugin-web-push
nodebb-plugin-web-push
/
public
/
lib
/
main.js
12 lines
(8 loc)
•
222 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
// this file here as placeholder in case needed. Add back to plugin.json to use
'use strict'
; (
async
() => {
const
[hooks] =
await
app.
require
([
'hooks'
]); hooks.
on
(
'action:app.load'
,
async
() => {
// ...
}); })();