mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
5 lines
1.7 KiB
JavaScript
5 lines
1.7 KiB
JavaScript
|
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"../../../../moduleWrappers/toast.js":[function(require,module,exports) {
|
||
|
module.exports=goosemodScope.showToast;
|
||
|
},{}],"index.js":[function(require,module,exports) {
|
||
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var o=e(require("@goosemod/toast"));function e(o){return o&&o.__esModule?o:{default:o}}var s={goosemodHandlers:{onImport:function(){console.log("This is a log from ConsoleLog"),(0,o.default)("This is a toast from ConsoleLog")},onRemove:function(){console.log("ConsoleLog has been uninstalled"),(0,o.default)("ConsoleLog has been uninstalled")}}};exports.default=s;
|
||
|
},{"@goosemod/toast":"../../../../moduleWrappers/toast.js"}]},{},["index.js"], null);parcelRequire('index.js').default
|