UNPKG
node-framework
Version:
latest (0.0.7-alpha-16)
0.0.7-alpha-8
0.0.7-alpha-7
0.0.7-alpha-6
0.0.7-alpha-5
0.0.7-alpha-4
0.0.7-alpha-3
0.0.7-alpha-2
0.0.7-alpha-16
0.0.7-alpha-15
0.0.7-alpha-12
0.0.7-alpha-11
0.0.7-alpha-10
0.0.7-alpha
0.0.6-dev
0.0.5-dev
0.0.4-dev
0.0.3-dev
0.0.2-dev
0.0.1
0.0.1-dev
0.0.1-alpha-1
node-framework
node-framework
/
demo
/
plugins
/
testPlugin.js
16 lines
(12 loc)
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/** *
@file
testPlugin.js *
@author
sekiyika (px.pengxing
@gmail
.com) *
@description
* */
module
.
exports
=
function
(
app
) {
return
function
testPlugin
(
str
) {
console
.
log
(
'here is testPlugin'
);
return
str +
' - by testPlugin'
; }; };