SHARE
TWEET

Seann's helper.js

a guest Feb 9th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //  helper.js
  2. var helper;
  3. Module.register("helper", {
  4.   defaults: {
  5.  
  6.   },
  7.   start: function(){
  8.     helper = this;
  9.     Log.info("Started Module: " + helper.name);
  10.  
  11.     helper.sendSocketNotification('helper_notification', {});
  12.   },
  13.   socketNotificationReceived: function(notification, payload){
  14.     Log.info("Helper Recieved notification: " + notification);
  15.   }
  16. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top