aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 00:35:24 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-09 00:35:24 +0000
commitf16d73d27b30618aed474041f5ca44ed4d6cf8aa (patch)
treeb606dd9a7e8a208c11f2cfc74a25c07765b683a5 /js/lib
parentfd5a1cb84ba7deb69ddbb25ba7afa89741eea248 (diff)
downloadelgg-f16d73d27b30618aed474041f5ca44ed4d6cf8aa.tar.gz
elgg-f16d73d27b30618aed474041f5ca44ed4d6cf8aa.tar.bz2
jslinted languages.js
git-svn-id: http://code.elgg.org/elgg/trunk@7258 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/languages.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/languages.js b/js/lib/languages.js
index 3231cf77d..640764282 100644
--- a/js/lib/languages.js
+++ b/js/lib/languages.js
@@ -9,7 +9,7 @@ elgg.add_translation = function(lang, translations) {
elgg.provide('elgg.config.translations.' + lang);
$.extend(elgg.config.translations[lang], translations);
-}
+};
/**
* Load the translations for the given language.
@@ -22,7 +22,7 @@ elgg.reload_all_translations = function(language) {
var lang = language || elgg.get_language();
elgg.getJSON('_css/js.php', {
data: {
- 'js': 'languages/'+lang,
+ 'js': 'languages/' + lang,
'viewtype': 'default',
'lastcache': elgg.config.lastcache
},
@@ -64,7 +64,7 @@ elgg.echo = function(key, language) {
return translations[key];
}
- if (language == dlang) {
+ if (language === dlang) {
return undefined;
}