Content deleted Content added
2.6 |
2.7 |
||
Line 1:
/// Gadget/fragmentAnchors/r.js
/// 2021-
/// Fingerprint:#0#
/// Documentation:[[w:en:User:PerfektesChaos/js/fragmentAnchors]]
/// @license:CC-by-sa/4.0 GPLv3
Line 7:
(function(mw,$){
"use strict";
var Version=2.
},EXPORT={},OO;
function facet($area){
Line 205:
if(all[s]){
if(FASC.$content){
if(typeof FASC.reApos!=="object"){
seek="[id='"+s.substr(1)+"']";▼
FASC.reApos=new RegExp("'","g");}
▲seek="[id='"+s.substr(1).replace(FASC.reApos,"\\'")+"']";
try{
$e=FASC.$content.find(seek);
$e=false;}
if($e&&$e.length&&!(FASC.$exclude&&FASC.$exclude.find(seek).length)){
r[s]=$e;
}else{
r[s]=all[s];}}}
|