瀏覽代碼

Fix decimal error in Invert node

master
Massimo 5 年之前
父節點
當前提交
6184a4d81f
共有 3 個檔案被更改,包括 6 行新增1 行删除
  1. +4
    -0
      CHANGELOG.md
  2. +1
    -0
      boolean-logic-ultimate/InvertUltimate.js
  3. +1
    -1
      package.json

+ 4
- 0
CHANGELOG.md 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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": {

Loading…
取消
儲存