Content deleted Content added
-2.0 |
-2.1 |
||
Line 1:
/// User:PerfektesChaos/js/citoidWikitext/core.js
// Execute core functionality for citoid on wikitext source editing
/// 2016-02-
// ResourceLoader: compatible;
// dependencies: --
Line 17:
( function ( mw, $ ) {
"use strict";
var VERSION = -2.
MW_LIB = "citoidWikitext",
Sub = "core",
Line 2,460:
UTIL.feed = function ( assigned, access, age, address ) {
// Load and run script
// Precondition:
// assigned -- signature
// access -- script
Line 2,467:
// Uses:
// mw.loader.getState()
// mw.loader.
//
// 2016-02-15 PerfektesChaos@de.wikipedia
var source = address;
if ( ! mw.loader.getState( assigned ) ) {
mw.loader.state( assigned, "loading" );
if ( ! source ) {
source = "https://en.wikipedia.org"
Line 2,481 ⟶ 2,483:
+ "&ctype=text/javascript";
}
mw.loader.
}
}; // UTIL.feed()
|