From 4aebb432c97a5f8b95f63ae89918b8358e135265 Mon Sep 17 00:00:00 2001 From: frank pagan Date: Mon, 19 Apr 2021 00:25:16 +0000 Subject: [PATCH] add dist bundle --- dist/CoCreate-parallax.js | 112 --------------------------------- dist/CoCreate-parallax.min.css | 1 - dist/CoCreate-parallax.min.js | 2 +- 3 files changed, 1 insertion(+), 114 deletions(-) delete mode 100644 dist/CoCreate-parallax.js delete mode 100644 dist/CoCreate-parallax.min.css diff --git a/dist/CoCreate-parallax.js b/dist/CoCreate-parallax.js deleted file mode 100644 index 273b2d1..0000000 --- a/dist/CoCreate-parallax.js +++ /dev/null @@ -1,112 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else if(typeof exports === 'object') - exports["parallax"] = factory(); - else - root["CoCreate"] = root["CoCreate"] || {}, root["CoCreate"]["parallax"] = factory(); -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "../CoCreate-components/CoCreate-parallax/src/index.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "../CoCreate-components/CoCreate-parallax/src/index.js": -/*!*************************************************************!*\ - !*** ../CoCreate-components/CoCreate-parallax/src/index.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nfunction CoCreateParallax() {\n var parallaxEls = document.getElementsByClassName(\"parallax\");\n\n for (var i = 0; i < parallaxEls.length; i++) {\n var parallaxEl = parallaxEls.item(i);\n parallaxEl.style.backgroundImage = 'url(' + parallaxEl.getAttribute('data-parallax_src') + ')';\n parallaxEl.style.height = parallaxEl.getAttribute('data-parallax_height');\n }\n}\n\nCoCreateParallax();\nvar _default = CoCreateParallax;\nexports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9Db0NyZWF0ZS5wYXJhbGxheC8uLi9Db0NyZWF0ZS1jb21wb25lbnRzL0NvQ3JlYXRlLXBhcmFsbGF4L3NyYy9pbmRleC5qcz82MWI0Il0sIm5hbWVzIjpbIkNvQ3JlYXRlUGFyYWxsYXgiLCJwYXJhbGxheEVscyIsImRvY3VtZW50IiwiZ2V0RWxlbWVudHNCeUNsYXNzTmFtZSIsImkiLCJsZW5ndGgiLCJwYXJhbGxheEVsIiwiaXRlbSIsInN0eWxlIiwiYmFja2dyb3VuZEltYWdlIiwiZ2V0QXR0cmlidXRlIiwiaGVpZ2h0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQ0EsU0FBU0EsZ0JBQVQsR0FDSTtBQUNFLE1BQUlDLFdBQVcsR0FBR0MsUUFBUSxDQUFDQyxzQkFBVCxDQUFnQyxVQUFoQyxDQUFsQjs7QUFFRixPQUFLLElBQUlDLENBQUMsR0FBQyxDQUFYLEVBQWNBLENBQUMsR0FBQ0gsV0FBVyxDQUFDSSxNQUE1QixFQUFvQ0QsQ0FBQyxFQUFyQyxFQUF5QztBQUNyQyxRQUFJRSxVQUFVLEdBQUdMLFdBQVcsQ0FBQ00sSUFBWixDQUFpQkgsQ0FBakIsQ0FBakI7QUFFQUUsY0FBVSxDQUFDRSxLQUFY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-components/CoCreate-parallax/src/index.js\n"); - -/***/ }) - -/******/ })["default"]; -}); \ No newline at end of file diff --git a/dist/CoCreate-parallax.min.css b/dist/CoCreate-parallax.min.css deleted file mode 100644 index 143fdfb..0000000 --- a/dist/CoCreate-parallax.min.css +++ /dev/null @@ -1 +0,0 @@ -.parallax{position:relative;opacity:.65;background-attachment:fixed;background-position:center;background-repeat:no-repeat;background-size:cover} \ No newline at end of file diff --git a/dist/CoCreate-parallax.min.js b/dist/CoCreate-parallax.min.js index 5f45608..2eb1132 100644 --- a/dist/CoCreate-parallax.min.js +++ b/dist/CoCreate-parallax.min.js @@ -1 +1 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.parallax=t():(e.CoCreate=e.CoCreate||{},e.CoCreate.parallax=t())}(this,function(){return n={},o.m=r=[function(e,t,r){"use strict";function n(){for(var e=document.getElementsByClassName("parallax"),t=0;t{"use strict";var e={26:(e,t,r)=>{r.r(t),r.d(t,{default:()=>c});var n=r(483),o=r.n(n);const a=r.p+"3194983ff140223adbc7f1311cb6a815.css";var i={injectType:"linkTag",insert:"head"};o()(a,i);const c={}},483:(e,t,r)=>{var n,o=(n={},function(e){if(void 0===n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}n[e]=t}return n[e]});e.exports=function(e,t){if((t=t||{}).attributes="object"==typeof t.attributes?t.attributes:{},void 0===t.attributes.nonce){var n=r.nc;n&&(t.attributes.nonce=n)}var a=document.createElement("link");if(a.rel="stylesheet",a.href=e,Object.keys(t.attributes).forEach((function(e){a.setAttribute(e,t.attributes[e])})),"function"==typeof t.insert)t.insert(a);else{var i=o(t.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(a)}return function(e){"string"==typeof e?a.href=e:a.parentNode.removeChild(a)}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})();var n={};return(()=>{var e=n;function t(){for(var e=document.getElementsByClassName("parallax"),t=0;t