fix what3words jslint

This commit is contained in:
dceejay 2015-06-01 09:07:28 +01:00
parent 340d54e0ea
commit 5e22eb2904
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-what3words",
"version" : "0.0.1",
"version" : "0.0.2",
"description" : "A Node-RED node to convert locations to/from what3words",
"dependencies" : {
"geo.what3words" : "0.0.2"

View File

@ -18,7 +18,7 @@ module.exports = function(RED) {
"use strict";
var What3Words = require('geo.what3words');
function what3wordsNode(n) {
var what3wordsNode = function(n) {
RED.nodes.createNode(this, n);
this.lang = n.lang || "en";
var credentials = RED.nodes.getCredentials(n.id);