summaryrefslogtreecommitdiff
path: root/js/codeq/statusbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/statusbar.js')
-rw-r--r--js/codeq/statusbar.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/js/codeq/statusbar.js b/js/codeq/statusbar.js
deleted file mode 100644
index 56070bd..0000000
--- a/js/codeq/statusbar.js
+++ /dev/null
@@ -1,26 +0,0 @@
-(function () {
-
- var jqBar = $('#topbar'),
- jqLang = jqBar.find('.lang-selection'),
- jqLangChoice = jqLang.find('.lang-choice');
-
- (function () {
- var langs = codeq.supportedLangs,
- jqMenu = jqLang.find('.dropdown-menu'),
- lang, cssClass;
- for (lang in langs) {
- if (!langs.hasOwnProperty(lang)) continue;
- cssClass = 'lang-' + lang;
- jqMenu.append('<li><a class="' + cssClass + '">' + lang + '</a></li>');
- jqMenu.find('.' + cssClass).on('click', (function (l) {return function () {codeq.setLang(l)};})(lang));
- }
- })();
-
- codeq.on('langchange', function (params) {
- jqLangChoice.text(params.lang);
- });
-
- codeq.statusbar = {
-
- };
-})(); \ No newline at end of file