ModuleBuilder/dist/module/Pop!.js

3 lines
2.6 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}({"index.js":[function(require,module,exports) {
"use strict";function e(e,n,t,r,o,i,a){try{var u=e[i](a),s=u.value}catch(c){return void t(c)}u.done?n(s):Promise.resolve(s).then(r,o)}function n(n){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=n.apply(t,r);function u(n){e(a,o,i,u,s,"next",n)}function s(n){e(a,o,i,u,s,"throw",n)}u(void 0)})}}var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r={goosemodHandlers:{onImport:function(){var e=n(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=document.createElement("style"),document.head.appendChild(t),t.appendChild(document.createTextNode("/**\n * @name Pop!\n * @author Devin#2078\n * @version 0.1.0\n * @description Makes UI elements 'pop out' on hover.\n * @source https://github.com/devinkid1/Pop\n*/\n\n/* Imports */\n\n@import url(\"https://devinkid1.github.io/Pop/base.css\");\n\n/* Settings */\n\n:root {\n /* Hover Scale */\n \n --HoverScale: 1.025;\n \n /* Transition Time */\n \n --TransitionTime: 0.25s;\n \n /* Ease Type */\n \n --EaseType: cubic-bezier(0, 0.75, 0, 1.75);\n}\n"));case 3:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),onRemove:function(){var e=n(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t.remove();case 1:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()}};exports.default=r;
},{}]},{},["index.js"], null);parcelRequire('index.js').default