code style. FOR

This commit is contained in:
Alexander Mohorev
2014-03-03 21:52:21 +03:00
parent 95ea1c20bb
commit f849623359
3 changed files with 9 additions and 9 deletions

View File

@ -158,7 +158,7 @@ yii = (function ($) {
return {};
}
var qs = url.substring(pos + 1).split('&');
for(var i = 0, result = {}; i < qs.length; i++){
for (var i = 0, result = {}; i < qs.length; i++) {
qs[i] = qs[i].split('=');
result[decodeURIComponent(qs[i][0])] = decodeURIComponent(qs[i][1]);
}