| @@ -1,5 +1,9 @@ | |||
| # node-red-contrib-boolean-logic-ultimate | |||
| <p> | |||
| <b>Version 0.0.4</b><br/> | |||
| - Fixed conflict issue if you have the old boolean logic installed<br/> | |||
| </p> | |||
| <p> | |||
| <b>Version 0.0.3</b><br/> | |||
| - Fixed status display<br/> | |||
| </p> | |||
| @@ -1,10 +1,10 @@ | |||
| <script type="text/javascript"> | |||
| RED.nodes.registerType('Invert',{ | |||
| RED.nodes.registerType('InvertUltimate',{ | |||
| category: 'boolean logic ultimate', | |||
| color: '#ff8080', | |||
| defaults: { | |||
| name: { | |||
| value: "Invert" | |||
| value: "InvertUltimate" | |||
| } | |||
| }, | |||
| inputs:1, | |||
| @@ -12,22 +12,22 @@ | |||
| icon: "serial.png", | |||
| label: | |||
| function() { | |||
| return this.name||"Invert"; | |||
| return this.name||"InvertUltimate"; | |||
| }, | |||
| paletteLabel: function() { | |||
| return "Invert"; | |||
| return "InvertUltimate"; | |||
| } | |||
| }); | |||
| </script> | |||
| <script type="text/x-red" data-template-name="Invert"> | |||
| <script type="text/x-red" data-template-name="InvertUltimate"> | |||
| <div class="form-row"> | |||
| <label for="node-input-name"><i class="icon-tag"></i> Name</label> | |||
| <input type="text" id="node-input-name" placeholder="Name"> | |||
| </div> | |||
| </script> | |||
| <script type="text/x-red" data-help-name="Invert"> | |||
| <script type="text/x-red" data-help-name="InvertUltimate"> | |||
| <p>A node that emits the inverted input value.<br/> | |||
| The status indicator represents the output value. | |||
| </p> | |||
| @@ -1,5 +1,5 @@ | |||
| module.exports = function(RED) { | |||
| function Invert(config) { | |||
| function InvertUltimate(config) { | |||
| RED.nodes.createNode(this,config); | |||
| this.config = config; | |||
| var node = this; | |||
| @@ -39,5 +39,5 @@ module.exports = function(RED) { | |||
| } | |||
| RED.nodes.registerType("Invert",Invert); | |||
| RED.nodes.registerType("InvertUltimate",InvertUltimate); | |||
| } | |||
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "name": "node-red-contrib-boolean-logic-ultimate", | |||
| "version": "0.0.3", | |||
| "version": "0.0.4", | |||
| "description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more", | |||
| "author": "Supergiovane (https://github.com/Supergiovane)", | |||
| "dependencies": { | |||
| @@ -19,7 +19,7 @@ | |||
| "node-red": { | |||
| "nodes": { | |||
| "BooleanLogicUltimate": "boolean-logic-ultimate/BooleanLogicUltimate.js", | |||
| "Invert": "boolean-logic-ultimate/Invert.js" | |||
| "InvertUltimate": "boolean-logic-ultimate/InvertUltimate.js" | |||
| } | |||
| } | |||
| } | |||