linting client side modules

This commit is contained in:
psychobunny
2015-02-25 19:09:39 -05:00
parent c3541dbc95
commit cb1e2c9fef
12 changed files with 20 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
"use strict";
/* global define, app, RELATIVE_PATH */
/* global define, app, translator, config, RELATIVE_PATH */
define('forum/login', ['csrf'], function(csrf) {
var Login = {};
@@ -31,7 +31,7 @@ define('forum/login', ['csrf'], function(csrf) {
},
error: function(data, status) {
translator.translate(data.responseText, config.defaultLang, function(translated) {
errorEl.find('p').text(translated)
errorEl.find('p').text(translated);
errorEl.show();
submitEl.removeClass('disabled');
});