From f9485a14cb90f876bdc9960f269c31f43ac4900e Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 12 Apr 2014 17:54:52 +0100 Subject: [PATCH] Removed leading "." in env javascript's fullpath --- lovebird.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lovebird.lua b/lovebird.lua index e1acd47..812fa7f 100644 --- a/lovebird.lua +++ b/lovebird.lua @@ -233,7 +233,7 @@ end var html = ""; for (var i = 0; json.vars[i]; i++) { var x = json.vars[i]; - var fullpath = json.path + "." + x.key; + var fullpath = (json.path + "." + x.key).replace(/^\./, ""); var k = x.key; if (x.type == "table") { k = "" +