Code Review
/
src
/
app-framework-demo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
0b8932c
)
Cleanup
author
Fulup Ar Foll
<fulup@iot.bzh>
Tue, 9 Feb 2016 17:55:40 +0000
(18:55 +0100)
committer
Fulup Ar Foll
<fulup@iot.bzh>
Tue, 9 Feb 2016 17:55:40 +0000
(18:55 +0100)
afm-client/app/Frontend/app.js
patch
|
blob
|
history
diff --git
a/afm-client/app/Frontend/app.js
b/afm-client/app/Frontend/app.js
index
74f5d5f
..
24d5539
100644
(file)
--- a/
afm-client/app/Frontend/app.js
+++ b/
afm-client/app/Frontend/app.js
@@
-1,12
+1,15
@@
(function() {
'use strict';
(function() {
'use strict';
- function ParseQueryString () {
+
+ function ParseQueryString () {
var qd = {};
location.search.substr(1).split("&").forEach(function(item) {
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;
});
return qd;
- }
+
}
angular.module('@@APPNAME@@', [ // Warning: Appname should fit with gulpfile.js & index.html
'ui.router',
angular.module('@@APPNAME@@', [ // Warning: Appname should fit with gulpfile.js & index.html
'ui.router',