From a0401a23232b33399ad201d50143b5da63085ede Mon Sep 17 00:00:00 2001 From: Robbie Langer Date: Fri, 8 Jun 2018 18:47:07 -0400 Subject: added semicolons --- pkg93.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg93.js b/pkg93.js index 55a377c..61c8387 100644 --- a/pkg93.js +++ b/pkg93.js @@ -72,7 +72,7 @@ var pkg93 = { return new Promise((res, rej) => { xhr.onerror = () => { cli.log("ERR Fatal error while retriving package.json."); - rej() + rej(); }; xhr.onload = () => { var json = JSON.parse(xhr.responseText); @@ -86,10 +86,10 @@ var pkg93 = { cli.log("ERR " + err.message); } } - res() + res(); }; xhr.send(); - }) + }); } localStorage[".pkg93/config.json"] = JSON.stringify(config); }, @@ -180,7 +180,7 @@ var pkg93 = { cli.log("ERR " + err.message); rej(err); } - }) + }); } }, rm: function(pkg, cli) { -- cgit v1.2.3