Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // node_helper.js
- var NodeHelper = require('node_helper');
- module.exports = NodeHelper.create({
- start: function() {
- console.log("Started helper node_helper.");
- },
- socketNotificationReceived: function(notification, payload){
- var self = this;
- Log.info("Helper node_helper Recieved Notification: " + notification);
- self.sendSocketNotification("returned_helper_notification", {});
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement