mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
A whole bunch of whitespace linting - no functional changes
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = function(RED) {
|
||||
var value = RED.util.getMessageProperty(msg,node.property);
|
||||
if (value !== undefined) {
|
||||
if (typeof value === "string") {
|
||||
// try to decode it...
|
||||
// try to decode it...
|
||||
var regexp = new RegExp('^[a-z0-9]{1,9}$'); // can only contain a-z or 0-9 and length 1-9
|
||||
if (regexp.test(value)) {
|
||||
var po = geohash.decode(value);
|
||||
|
Reference in New Issue
Block a user