Page MenuHomeWickedGov Phorge

initPlugins.js
No OneTemporary

Size
537 B
Referenced Files
None
Subscribers
None

initPlugins.js

/**
* Initialises the hCaptcha plugins for VisualEditor.
* This file is used to avoid side effects in QUnit tests on the
* files that are included.
*
* This should be called only when VisualEditor is loaded and ideally
* called by providing this callback to `mw.libs.ve.targetLoader.addPlugin`
*/
module.exports = () => {
require( './ve.init.mw.HCaptcha.js' )();
require( './ve.init.mw.HCaptchaSaveErrorHandler.js' )();
require( './ve.init.mw.HCaptchaOnLoadHandler.js' )();
ve.init.mw.HCaptchaOnLoadHandler.static.init();
};

File Metadata

Mime Type
text/plain
Expires
Aug 19 2026, 23:16 (8 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
61/10/af69c178674d6e327bc8ecd4fcfb
Default Alt Text
initPlugins.js (537 B)

Event Timeline