diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2016-02-09 18:51:24 +0100 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2016-02-09 18:51:24 +0100 |
commit | 662c8409cd101fa168727e4a10f7e49d9a85e5f6 (patch) | |
tree | 642bc9cb359c01383eb280166b0a5ee23db9c860 | |
parent | 5dec8cf300074b431893b2cc6cd4bd1edb098ee6 (diff) |
Cleanup
-rw-r--r-- | afb-client/app/Frontend/app.js | 6 |
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', |