summaryrefslogtreecommitdiffstats
path: root/afb-client/app/Frontend
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2016-02-09 18:51:24 +0100
committerFulup Ar Foll <fulup@iot.bzh>2016-02-09 18:51:24 +0100
commit662c8409cd101fa168727e4a10f7e49d9a85e5f6 (patch)
tree642bc9cb359c01383eb280166b0a5ee23db9c860 /afb-client/app/Frontend
parent5dec8cf300074b431893b2cc6cd4bd1edb098ee6 (diff)
Cleanup
Diffstat (limited to 'afb-client/app/Frontend')
-rw-r--r--afb-client/app/Frontend/app.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/afb-client/app/Frontend/app.js b/afb-client/app/Frontend/app.js
index 2bbd3b5..6360b75 100644
--- a/afb-client/app/Frontend/app.js
+++ b/afb-client/app/Frontend/app.js
@@ -4,10 +4,12 @@
function ParseQueryString () {
var qd = {};
location.search.substr(1).split("&").forEach(function(item) {
- var k = item.split("=")[0], v = decodeURIComponent(item.split("=")[1]); (k in qd) ? qd[k].push(v) : qd[k] = [v];
+ var k = item.split("=")[0];
+ var v = decodeURIComponent(item.split("=")[1]);
+ (k in qd) ? qd[k].push(v) : qd[k] = [v];
});
return qd;
- };
+ }
angular.module('@@APPNAME@@', [ // Warning: Appname should fit with gulpfile.js & index.html
'ui.router',