eslint --fix
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
* inlined in the build config.
|
||||
*/
|
||||
shim: {
|
||||
'xmodule': {
|
||||
xmodule: {
|
||||
deps: [
|
||||
'jquery', 'underscore', 'codemirror', 'tinymce',
|
||||
'jquery.tinymce', 'jquery.qtip', 'jquery.scrollTo', 'jquery.flot',
|
||||
|
||||
@@ -43,8 +43,8 @@
|
||||
message = JSON.parse(jqXHR.responseText).error;
|
||||
}
|
||||
msg = new NotificationView.Error({
|
||||
'title': gettext("Studio's having trouble saving your work"),
|
||||
'message': message
|
||||
title: gettext("Studio's having trouble saving your work"),
|
||||
message: message
|
||||
});
|
||||
console.log('Studio AJAX Error', { // eslint-disable-line no-console
|
||||
url: event.currentTarget.URL,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
define(['jquery', 'backbone', 'xblock/runtime.v1', 'URI', 'gettext', 'js/utils/modal',
|
||||
'common/js/components/views/feedback_notification'],
|
||||
'common/js/components/views/feedback_notification'],
|
||||
function($, Backbone, XBlock, URI, gettext, ModalUtils, NotificationView) {
|
||||
'use strict';
|
||||
|
||||
@@ -149,7 +149,7 @@ define(['jquery', 'backbone', 'xblock/runtime.v1', 'URI', 'gettext', 'js/utils/m
|
||||
};
|
||||
|
||||
return v1;
|
||||
})(XBlock.Runtime.v1);
|
||||
}(XBlock.Runtime.v1));
|
||||
|
||||
PreviewRuntime.v1 = (function(_super) {
|
||||
__extends(v1, _super);
|
||||
@@ -161,7 +161,7 @@ define(['jquery', 'backbone', 'xblock/runtime.v1', 'URI', 'gettext', 'js/utils/m
|
||||
v1.prototype.handlerPrefix = '/preview/xblock';
|
||||
|
||||
return v1;
|
||||
})(BaseRuntime.v1);
|
||||
}(BaseRuntime.v1));
|
||||
|
||||
StudioRuntime.v1 = (function(_super) {
|
||||
__extends(v1, _super);
|
||||
@@ -173,7 +173,7 @@ define(['jquery', 'backbone', 'xblock/runtime.v1', 'URI', 'gettext', 'js/utils/m
|
||||
v1.prototype.handlerPrefix = '/xblock';
|
||||
|
||||
return v1;
|
||||
})(BaseRuntime.v1);
|
||||
}(BaseRuntime.v1));
|
||||
|
||||
// Install the runtime's into the global namespace
|
||||
window.BaseRuntime = BaseRuntime;
|
||||
|
||||
Reference in New Issue
Block a user