lint compliance

This commit is contained in:
yflory 2020-07-01 12:10:08 +02:00
parent f3662ab7de
commit 04af753a81
4 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
/* globals Buffer*/
const Quota = module.exports;
const Util = require("../common-util");
//const Util = require("../common-util");
const Keys = require("../keys");
const Package = require('../../package.json');
const Https = require("https");

View file

@ -900,7 +900,6 @@ define([
}
if (owned) {
var deleteOwned = h('button.btn.btn-danger-alt', Messages.fc_delete_owned);
var $deleteOwned;
var spinner = UI.makeSpinner();
UI.confirmButton(deleteOwned, {
classes: 'btn-danger'

View file

@ -68,7 +68,7 @@
};
// Register the command.
var command = editor.plugins.comments.command = editor.addCommand('comment', {
editor.plugins.comments.command = editor.addCommand('comment', {
exec: function(editor) {
if (editor.readOnly) { return; }
editor.focus();

View file

@ -1001,13 +1001,14 @@ define([
YAY!
*/
CKEDITOR.dom.element.prototype.setHtml = function(a){
Ckeditor.dom.element.prototype.setHtml = function(a){
if (/callFunction/.test(a)) {
a = a.replace(/on(mousedown|blur|keydown|focus|click|dragstart)/g, function (value) {
return 'o' + value;
});
}
return this.$.innerHTML=a;
this.$.innerHTML = a;
return a;
};
module.ckeditor = editor = Ckeditor.replace('editor1', {