Tidy ups to ping (doc), dweet (unrequired util) and ddbout (JSHint)

This commit is contained in:
Dave C-J 2014-07-25 10:09:35 +01:00
parent 2611853620
commit f121f2683d
3 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,7 @@
<script type="text/x-red" data-help-name="ping">
<p>Pings a machine and returns the trip time in mS.</p>
<p>Returns <b>false</b> if no response received within 3 seconds, or if the host is unresolveable.</p>
<p>Returns <b>false</b> if no response received within 5 seconds, or if the host is unresolveable.</p>
<p>Default ping is every 20 seconds but can be configured.</p>
</script>

View File

@ -17,7 +17,6 @@
module.exports = function(RED) {
"use strict";
var DweetClient = require("node-dweetio");
var util = require('util');
var dweetio = null;
function DweetioOutNode(n) {

View File

@ -36,7 +36,7 @@ function DDBOutNode(n) {
ddb.putItem({ "TableName": this.table,
"Item": attrWrapper.wrap(msg.payload) },
function(err, data) {
err && util.log(err);
if (err) { util.log(err); }
});
}
});