lint compliance
parent
f3662ab7de
commit
04af753a81
|
@ -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");
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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', {
|
||||
|
|
Loading…
Reference in New Issue