Pārlūkot izejas kodu

Fix decimal error in Invert node

master
Massimo pirms 5 gadiem
vecāks
revīzija
6184a4d81f
3 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -0
      boolean-logic-ultimate/InvertUltimate.js
  3. +1
    -1
      package.json

+ 4
- 0
CHANGELOG.md Parādīt failu

@@ -1,5 +1,9 @@
# node-red-contrib-boolean-logic-ultimate
<p>
<b>Version 0.0.7</b><br/>
- Fixed decimal error in the "Invert" node.<br/>
</p>
<p>
<b>Version 0.0.6</b><br/>
- Fixed crappy "Invert" node.<br/>
</p>

+ 1
- 0
boolean-logic-ultimate/InvertUltimate.js Parādīt failu

@@ -3,6 +3,7 @@ module.exports = function(RED) {
RED.nodes.createNode(this,config);
this.config = config;
var node = this;
var decimal = /^\s*[+-]{0,1}\s*([\d]+(\.[\d]*)*)\s*$/
node.status( {fill: "grey" ,shape: "dot" ,text: "waiting"});
this.on('input', function(msg) {

+ 1
- 1
package.json Parādīt failu

@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-boolean-logic-ultimate",
"version": "0.0.6",
"version": "0.0.7",
"description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more",
"author": "Supergiovane (https://github.com/Supergiovane)",
"dependencies": {

Notiek ielāde…
Atcelt
Saglabāt