RubyGems
npm
Organizations
Log in
Sign up
npm
@5minds/node-red-contrib-processcube
Versions diffs
0.11.0 → 0.12.0
@5minds/node-red-contrib-processcube 0.11.0 → 0.12.0
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
package/package.json
+1
-1
package/usertask-finished-listener.js
+3
-1
package/usertask-new-listener.js
+3
-1
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@5minds/node-red-contrib-processcube",
3
-
"version": "0.
11
.0",
3
+
"version": "0.
12
.0",
4
4
"license": "MIT",
5
5
"description": "Node-RED nodes for ProcessCube",
6
6
"authors": [
package/usertask-finished-listener.js
CHANGED
Viewed
@@ -50,7 +50,9 @@ module.exports = function(RED) {
50
50
});
51
51
}
52
52
53
-
register
()
;
53
+
if
(
node.server
)
{
54
+
register();
55
+
}
54
56
}
55
57
RED.nodes.registerType("usertask-finished-listener", UserTaskFinishedListener);
56
58
}
package/usertask-new-listener.js
CHANGED
Viewed
@@ -50,7 +50,9 @@ module.exports = function(RED) {
50
50
});
51
51
}
52
52
53
-
register
()
;
53
+
if
(
node.server
)
{
54
+
register();
55
+
}
54
56
55
57
}
56
58
RED.nodes.registerType("usertask-new-listener", UserTaskNewListener);