「MediaWiki:Gadget-libBottomRightCorner.js」の版間の差分

提供: 萌えっ娘百科事典
移動先: 案内検索
(同步小工具)
(タグ: Bot)
 
(跨站同步)
(タグ: Bot)
 
1行目: 1行目:
/* eslint-disable prefer-arrow-callback */
+
/* <pre> */
/* eslint-disable prefer-template */
+
/**
/* eslint-disable comma-dangle */
+
* -------------------------------------------------------------------------
/* eslint-disable no-var */
+
* !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
/* eslint-disable no-unused-vars */
+
* -------------------------------------------------------------------------
/* eslint dot-notation: ["error", { "allowPattern": "^(?:catch|default)$" } ] */
+
*/
// eslint-disable-next-line no-redeclare
+
var _addText = '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/libBottomRightCorner/MediaWiki:Gadget-libBottomRightCorner.js|user=[[U:AnnAngela]]|longId=4ee5b47352efe72dd9f86d9b72d6bec27fe7a4f5|shortId=4ee5b47|message=more cleanup}}';
/* global mw, $, OO, moment, Cron */
+
 
/* eslint-enable no-unused-vars */
 
 
"use strict";
 
"use strict";
 
$(function () {
 
$(function () {
17行目: 16行目:
 
     };
 
     };
 
});
 
});
 +
 +
/* </pre> */

2022年9月6日 (火) 02:54時点における最新版

/* <pre> */
/**
 * -------------------------------------------------------------------------
 * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 * -------------------------------------------------------------------------
 */
var _addText = '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/libBottomRightCorner/MediaWiki:Gadget-libBottomRightCorner.js|user=[[U:AnnAngela]]|longId=4ee5b47352efe72dd9f86d9b72d6bec27fe7a4f5|shortId=4ee5b47|message=more cleanup}}';

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

/* </pre> */