Added list of Nodes to he ReadME so people can see what's there without digging... Bunch of cleanups to node-red-nodes... mainly just removing tabs -> spaces and stuff. No code changes...

This commit is contained in:
Dave C-J
2013-11-10 17:01:19 +00:00
parent 6425bd75cb
commit 793fd3c7fd
16 changed files with 340 additions and 375 deletions

View File

@@ -15,18 +15,18 @@
-->
<script type="text/x-red" data-template-name="ping">
<div class="form-row">
<label for="node-input-host"><i class="icon-tasks"></i> Target</label>
<input type="text" id="node-input-host" placeholder="www.google.com">
</div>
<div class="form-row">
<label for="node-input-timer"><i class="icon-tasks"></i> Ping (S)</label>
<input type="text" id="node-input-timer" placeholder="20">
</div>
<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>
<div class="form-row">
<label for="node-input-host"><i class="icon-tasks"></i> Target</label>
<input type="text" id="node-input-host" placeholder="www.google.com">
</div>
<div class="form-row">
<label for="node-input-timer"><i class="icon-tasks"></i> Ping (S)</label>
<input type="text" id="node-input-timer" placeholder="20">
</div>
<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>
<!-- Next, some simple help text is provided for the node. -->

View File

@@ -51,7 +51,5 @@ function PingNode(n) {
this.on("close", function() {
clearInterval(this.tout);
});
}
RED.nodes.registerType("ping",PingNode);