aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/Languages.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:51:50 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:51:50 +1300
commita7a2174c927d27eead9139eb9ff65dc87d7eefbc (patch)
tree99c422313f6c11f296b3ec43150da63e87dcaa17 /web/app/store/Languages.js
parent8416025e932669550c166cfc4263d55c149eed89 (diff)
downloadtrackermap-server-a7a2174c927d27eead9139eb9ff65dc87d7eefbc.tar.gz
trackermap-server-a7a2174c927d27eead9139eb9ff65dc87d7eefbc.tar.bz2
trackermap-server-a7a2174c927d27eead9139eb9ff65dc87d7eefbc.zip
Fix remaining jshint warnings
Diffstat (limited to 'web/app/store/Languages.js')
-rw-r--r--web/app/store/Languages.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/Languages.js b/web/app/store/Languages.js
index 66d3e6176..594953480 100644
--- a/web/app/store/Languages.js
+++ b/web/app/store/Languages.js
@@ -22,16 +22,16 @@
data: (function () {
var code, data = [];
- for (code in availableLanguages) {
- if (availableLanguages.hasOwnProperty(code)) {
+ for (code in Locale.languages) {
+ if (Locale.languages.hasOwnProperty(code)) {
data.push({
code: code,
- name: availableLanguages[code].name
+ name: Locale.languages[code].name
});
}
}
return data;
- }())
+ })()
});
})();