2019-09-16 12:15:39 +01:00
|
|
|
/*\
|
|
|
|
title: $:/core/modules/startup/plugins.js
|
|
|
|
type: application/javascript
|
|
|
|
module-type: startup
|
|
|
|
|
|
|
|
Startup logic concerned with managing plugins
|
|
|
|
|
|
|
|
\*/
|
|
|
|
(function(){
|
|
|
|
|
|
|
|
/*jslint node: true, browser: true */
|
|
|
|
/*global $tw: false */
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
// Export name and synchronous status
|
|
|
|
exports.name = "plugins";
|
|
|
|
exports.after = ["load-modules"];
|
2023-06-30 10:50:28 +01:00
|
|
|
exports.before = ["startup"];
|
2019-09-16 12:15:39 +01:00
|
|
|
exports.synchronous = true;
|
|
|
|
|
|
|
|
exports.startup = function() {
|
2025-02-21 09:36:40 +00:00
|
|
|
$tw.utils.installPluginChangeHandler($tw.wiki);
|
2019-09-16 12:15:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
})();
|