jshint compliance

This commit is contained in:
ansuz committed 2016-02-15 16:07:46 +01:00
1 parent d1885fbab6
commit 3cb94b8d80
16 files changed
+52 -29

No files matched your search

+3 -2
View File
@@ -6,7 +6,7 @@ define([
'/bower_components/jquery/dist/jquery.min.js',
'/customize/pad.js'
], function (Config, Realtime, Messages, Crypto) {
var $ = jQuery;
var $ = window.jQuery;
$(window).on('hashchange', function() {
window.location.reload();
});
@@ -36,7 +36,8 @@ define([
try {
eval(content); // jshint ignore:line
} catch (err) {
alert(err.message);
// FIXME don't use alert, make an errorbox
window.alert(err.message);
}
});
});