Content deleted Content added
PleaseStand (talk | contribs) m scanner.slice is not a function |
PleaseStand (talk | contribs) m remove variable complete |
||
Line 54:
var editForm, refsDiv, refsH2, mainTextbox, refsTextbox, randPrefix, messages,
refsButton, convertButton
function has( obj, key ) {
Line 373:
// Do the actual integration work
result = integrateRefs(mainTextbox.value, refsTextbox.value, randPrefix,
// Find all unused ref names
Line 428:
// Do the actual segregation work and save the random prefix
var segFormat = segregateRefs(mainTextbox.value, "",
if(!segFormat) {
return false;
Line 460:
refsTextbox = document.createElement("textarea");
refsTextbox.id = "PsRefsTextbox";
▲ refsTextbox.value = messages.refsCommentIncomplete +
refsTextbox.rows = Math.floor(mainTextbox.rows / 2);
refsTextbox.cols = mainTextbox.cols;
Line 582 ⟶ 577:
WikEdUpdateTextarea();
}
return integrateRefs(mainTextbox.value, refsTextbox.value, randPrefix, true).wikiText;
} else {
return mainTextbox.value;
|