mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-25 05:42:47 +01:00
21 lines
372 B
JavaScript
21 lines
372 B
JavaScript
(function(){
|
|
//
|
|
// Class: Abstract plugin base class.
|
|
//
|
|
window.PluginBase = class{
|
|
constructor(pluginSettings){
|
|
this.$pluginSettings = pluginSettings || {};
|
|
}
|
|
|
|
run(){}
|
|
};
|
|
|
|
//
|
|
// Variable: Main object for containing and managing plugins.
|
|
//
|
|
window.TD_PLUGINS = {
|
|
install: function(plugin){
|
|
plugin.obj.run();
|
|
}
|
|
};
|
|
})(); |