diff options
author | Robbie Langer | 2018-06-08 18:47:07 -0400 |
---|---|---|
committer | Robbie Langer | 2018-06-08 18:47:07 -0400 |
commit | a0401a23232b33399ad201d50143b5da63085ede (patch) | |
tree | 49a86031f374220b73b3e4e4fe2c6064c083e40a | |
parent | b195dfc68725bc928da92543ffdf2bf509256003 (diff) |
added semicolons
-rw-r--r-- | pkg93.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -72,7 +72,7 @@ var pkg93 = { return new Promise((res, rej) => { xhr.onerror = () => { cli.log("<b><span style='color:#f00'>ERR</span></b> Fatal error while retriving package.json."); - rej() + rej(); }; xhr.onload = () => { var json = JSON.parse(xhr.responseText); @@ -86,10 +86,10 @@ var pkg93 = { cli.log("<b><span style='color:#f00'>ERR</span></b> " + err.message); } } - res() + res(); }; xhr.send(); - }) + }); } localStorage[".pkg93/config.json"] = JSON.stringify(config); }, @@ -180,7 +180,7 @@ var pkg93 = { cli.log("<b><span style='color:#f00'>ERR</span></b> " + err.message); rej(err); } - }) + }); } }, rm: function(pkg, cli) { |