BLUEPRINT ( "4B7A1FD417F541BDBB4748829ADE97FF", { inputs: [ '__power__' , 'trigger_in' ] , input_specs: [ { queue_size: 1 } , { queue_size: 10 } ] , outputs: [ 'trigger_out' ] , properties: [ 'emits_when_triggered' , 'does_trigger_automatically' ] , name: 'Trigger' }, function(Class) {Class.prototype._onInit=function(props) {this._msg=props["emits_when_triggered"];if(this._msg===undefined){this._msg=this.dom_node.textContent||this.dom_node.innerText;} this._auto=props["does_trigger_automatically"];};Class.prototype.onMsgFor["__power__"]=function(msg) {if(this._auto){this.onMsgFor["trigger_in"].call(this,msg);}};Class.prototype.onMsgFor["trigger_in"]=function(msg) {this.postMessage("trigger_out",this._msg);};}); BLUEPRINT ( "E373E68FB874447CA0DFE7931FE9A0F1", { inputs: [ 'text_in' ] , input_specs: [ { queue_size: 10 } ] , outputs: [ 'text_shown_indication_out' ] , properties: [ 'does_keep_html_tags' ] , name: 'Text Board' }, function(Class) {Class.prototype._onInit=function(props) {this._yes_tags=props["does_keep_html_tags"];};Class.prototype._cleanString=function(val,no_tags) {if(val.sort){val=val[0];} if(val.toLocaleString){val=val.toLocaleString();} if(!val.replace){val=new String(val);} if(no_tags){val=val.replace(/<.+?>/g,"");} val=val.replace(/\ /g," ");val=val.replace(/\</g,"<");val=val.replace(/\>/g,">");val=val.replace(/\—/g,"--");val=val.replace(/\—/g,"--");val=val.replace(/^\s+|\s+$/g,"");return val;} Class.prototype.onMsgFor["text_in"]=function(msg) {var val;val=this._cleanString(msg,!this._yes_tags);(this.dom_node.innerText===undefined)?this.dom_node.textContent=val:this.dom_node.innerText=val;this.postMessage("text_shown_indication_out",val);};});