瀏覽代碼

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

# node-red-contrib-boolean-logic-ultimate # node-red-contrib-boolean-logic-ultimate
<p> <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/> <b>Version 0.0.6</b><br/>
- Fixed crappy "Invert" node.<br/> - Fixed crappy "Invert" node.<br/>
</p> </p>

+ 1
- 0
boolean-logic-ultimate/InvertUltimate.js 查看文件

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

+ 1
- 1
package.json 查看文件

{ {
"name": "node-red-contrib-boolean-logic-ultimate", "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", "description": "A set of Node-RED enhanced boolean logic, with persisten values after reboot and more",
"author": "Supergiovane (https://github.com/Supergiovane)", "author": "Supergiovane (https://github.com/Supergiovane)",
"dependencies": { "dependencies": {

Loading…
取消
儲存