mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Dynamically load UI plugins via require.js
Plugin code uses the following format:
(function (cloudStack) {
var testPlugin1 = function(plugin) {
// Plugin code goes here
};
cloudStack.plugin({
id: 'testPlugin1',
title: 'Test Plugin 1',
desc: 'Sample plugin 1',
load: testPlugin1
});
}(cloudStack));