跳转到内容

MediaWiki:Gadget-libBottomRightCorner.js:修订间差异

来自萌娘共享
代码变动:103d1a56 - feat: rename (#594) by U:AnnAngela, co-authored-by: GH:github-actions[bot]
标签由机器人或全自动脚本执行的操作
代码变动:103d1a56 - feat: rename (#594) by U:AnnAngela, co-authored-by: GH:github-actions[bot]
标签由机器人或全自动脚本执行的操作
第9行: 第9行:


"use strict";
"use strict";
$(function() {
$(() => {
     var body = document.body;
     const body = document.body;
     var bottomRightCorner = $("<div>").attr("id", "bottomRightCorner");
     const bottomRightCorner = $("<div>").attr("id", "bottomRightCorner");
     bottomRightCorner.appendTo(body);
     bottomRightCorner.appendTo(body);
     window.insertToBottomRightCorner = function(text) {
     window.insertToBottomRightCorner = (text) => $("<div>").text(text).appendTo(bottomRightCorner);
        return $("<div>").text(text).appendTo(bottomRightCorner);
    };
});  
});  


/* </pre> */
/* </pre> */

2025年7月24日 (四) 20:54的版本

/**
 * -------------------------------------------------------------------------
 * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 * -------------------------------------------------------------------------
 */
var _addText = '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/libBottomRightCorner/Gadget-libBottomRightCorner.js|user=[[U:AnnAngela]]|co-authors=GH:github-actions[bot]|longId=103d1a563ea4ccc8ff29fb55c9bcd88329a56eb5|shortId=103d1a56|summary=feat: rename (#594)|body=<nowiki>Co-authored-by: github-actions[bot] <41898282+github-actions[bot]📧users.noreply.github.com></nowiki>}}'; 

/* <pre> */

"use strict";
$(() => {
    const body = document.body;
    const bottomRightCorner = $("<div>").attr("id", "bottomRightCorner");
    bottomRightCorner.appendTo(body);
    window.insertToBottomRightCorner = (text) => $("<div>").text(text).appendTo(bottomRightCorner);
}); 

/* </pre> */