text: "use strict";var __extends=function(){var n=function(t,r){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])})(t,r)};return function(t,r){function o(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();exports.__esModule=!0;var $=require("jquery"),pluginmanager_1=require("@mcscriptstudiocode/pluginmanager"),Shortcutbar=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.setup=function(){this.api.addStylesheet(__dirname+"/style/css/shortcutbar.min.css");var t=new ShortcutbarAPI(this.api);this.api.registerAPI("shortcutbar",t)},r.prototype.start=function(){},r.prototype.stop=function(){},r.prototype.reload=function(){},r}(pluginmanager_1.Plugin);exports.default=Shortcutbar;var ShortcutbarAPI=function(){function t(t){this.name="Shortcutbar",this.version="0.0.1",this.id="shortcutbar",t.addElement('<div id="shortcutbar"></div>')}return t.prototype.addButton=function(t,r,o,n){$("#"+this.id).append('<button id="'+t+'" class="shortcutbarbutton" tooltip="'+r+'">'+o+"</button>"),null!=n&&$("#"+t).click(n)},t}();global.ShortcutbarAPI=ShortcutbarAPI;
  //# sourceMappingURL=Shortcutbar.js.map
  