mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-03 13:26:28 +00:00
toolkit: drop old jslint control comments
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
04eb02d970
commit
03ea6d7971
@ -503,7 +503,6 @@ Ext.define('Proxmox.selection.CheckboxModel', {
|
|||||||
// since Ext.Msg is an object and not a prototype, we need to override it
|
// since Ext.Msg is an object and not a prototype, we need to override it
|
||||||
// after the framework has been initiated
|
// after the framework has been initiated
|
||||||
Ext.onReady(function() {
|
Ext.onReady(function() {
|
||||||
/*jslint confusion: true */
|
|
||||||
Ext.override(Ext.Msg, {
|
Ext.override(Ext.Msg, {
|
||||||
alert: function(title, message, fn, scope) { // eslint-disable-line consistent-return
|
alert: function(title, message, fn, scope) { // eslint-disable-line consistent-return
|
||||||
if (Ext.isString(title)) {
|
if (Ext.isString(title)) {
|
||||||
@ -520,7 +519,6 @@ Ext.onReady(function() {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
/*jslint confusion: false */
|
|
||||||
});
|
});
|
||||||
Ext.define('Ext.ux.IFrame', {
|
Ext.define('Ext.ux.IFrame', {
|
||||||
extend: 'Ext.Component',
|
extend: 'Ext.Component',
|
||||||
@ -621,7 +619,6 @@ Ext.define('Ext.ux.IFrame', {
|
|||||||
// the event reaches listeners on elements like the document body. The effected
|
// the event reaches listeners on elements like the document body. The effected
|
||||||
// mechanisms that depend on this bubbling behavior are listed to the right
|
// mechanisms that depend on this bubbling behavior are listed to the right
|
||||||
// of the event.
|
// of the event.
|
||||||
/*jslint nomen: true*/
|
|
||||||
Ext.get(doc).on(
|
Ext.get(doc).on(
|
||||||
me._docListeners = {
|
me._docListeners = {
|
||||||
mousedown: fn, // menu dismisal (MenuManager) and Window onMouseDown (toFront)
|
mousedown: fn, // menu dismisal (MenuManager) and Window onMouseDown (toFront)
|
||||||
@ -632,7 +629,6 @@ Ext.define('Ext.ux.IFrame', {
|
|||||||
scope: me,
|
scope: me,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
/*jslint nomen: false*/
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// cannot do this xss
|
// cannot do this xss
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user