User:PerfektesChaos/js/lintHint/d.js: Difference between revisions

Content deleted Content added
-4.8
-4.9
Line 1:
/// User:PerfektesChaos/js/lintHint/d.js
/// 2021-12-2327 PerfektesChaos@de.wikipedia
// Show LintErrors analysis live
// ResourceLoader: compatible;
Line 17:
( function ( mw, $ ) {
"use strict";
var Version = -4.89,
Signature = "lintHint",
HINT = { cmodels: { "wikitext": true,
Line 374:
// (LINTER.first)
// (features)
// 2021-0612-0326 PerfektesChaos@de.wikipedia
var i, later, listen, live, re, rls, s;
HINT.signature = "ext.gadget." + Signature;
Line 407:
case "ExpandTemplates":
PREGO.fire();
EDIT.live = true;
EDIT.selector = "textarea#output";
fair( TMPLXPAND.first );
break;
Line 450 ⟶ 452:
EDIT.layer = true;
EDIT.live = true;
EDIT.selector = HINTEDIT.selTextbox;
}
}
Line 1,302 ⟶ 1,304:
// > Signature
// > Version
// > TMPLXPAND.live
// > EDIT.$source
// > EDIT.live
// > API.errors
Line 1,310 ⟶ 1,314:
// BOX.firing()
// BOX.focus()
// EDIT.fetch()
// EDIT.fine()
// (BOX.full)
// 2021-0612-0326 PerfektesChaos@de.wikipedia
BOX.first( $area );
face();
Line 1,337 ⟶ 1,342:
BOX.$collapsed.css( { "background-color": "#" + BOX.bgc } );
}
if ( EDITTMPLXPAND.live && ! APIEDIT.errors$source ) {
EDIT.fetch();
}
if ( EDIT.live && ! API.errors && ! TMPLXPAND.live ) {
EDIT.fine();
}