Bladeren bron

Fixed conflict issue if you have the old boolean logic installed

master
Massimo 5 jaren geleden
bovenliggende
commit
7a5c1698be
4 gewijzigde bestanden met toevoegingen van 14 en 10 verwijderingen
  1. +4
    -0
      CHANGELOG.md
  2. +6
    -6
      boolean-logic-ultimate/InvertUltimate.html
  3. +2
    -2
      boolean-logic-ultimate/InvertUltimate.js
  4. +2
    -2
      package.json

+ 4
- 0
CHANGELOG.md Bestand weergeven

@@ -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>

boolean-logic-ultimate/Invert.html → boolean-logic-ultimate/InvertUltimate.html Bestand weergeven

@@ -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>

boolean-logic-ultimate/Invert.js → boolean-logic-ultimate/InvertUltimate.js Bestand weergeven

@@ -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);
}

+ 2
- 2
package.json Bestand weergeven

@@ -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"
}
}
}

Laden…
Annuleren
Opslaan