vendor: 91 bytes, lines 1-4
1/******/ (() => { // webpackBootstrap 2/******/ var __webpack_modules__ = ({ 3 4/***/ "./src/
4ReturnPlugin/assets/shop/app.js": 5/*!*********************************************!*\ 6 !*** ./src/ReturnPlugin/assets/shop/app.js ***! 7 \*********************************************/ 8/***/ (() => { 9 10var displayUploadedImage = function displayUploadedImage(input) { 11 if (input.files && input.files[0]) { 12 var reader = new FileReader(); 13 reader.onload = function (event) { 14 var image = $(input).parents('.hidden').first().siblings('.image'); 15 if (image.length > 0) { 16 image.attr('src', event.target.result); 17 } else { 18 var img = $('<img class="ui small bordered image"/>'); 19 img.attr('src', event.target.result); 20 $(input).parents('.hidden').first().before(img); 21 } 22 }; 23 reader.readAsDataURL(input.files[0]); 24 } 25}; 26$.fn.extend({ 27 previewUploadedImage: function previewUploadedImage(root) { 28 $(root).on('change', 'input[type="file"]', function () { 29 displayUploadedImage(this); 30 }); 31 } 32}); 33$(document).ready(function () { 34 $(document).previewUploadedImage('#sylius_return_return_request_images'); 35}); 36 37/***/ }), 38
39/***/ "./src/ReturnPlugin/assets/shop/style.scss": 40/*!*************************************************!*\ 41 !*** ./src/ReturnPlugin/assets/shop/style.scss ***! 42 \*************************************************/ 43/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 44 45"use strict"; 46__webpack_require__.r(__webpack_exports__); 47// extracted by mini-css-extract-plugin 48 49 50/***/ })
vendor: 3,506 bytes, lines 50-136
50 51 52/******/ }); 53/************************************************************************/ 54/******/ // The module cache 55/******/ var __webpack_module_cache__ = {}; 56/******/ 57/******/ // The require function 58/******/ function __webpack_require__(moduleId) { 59/******/ // Check if module is in cache 60/******/ var cachedModule = __webpack_module_cache__[moduleId]; 61/******/ if (cachedModule !== undefined) { 62/******/ return cachedModule.exports; 63/******/ } 64/******/ // Create a new module (and put it into the cache) 65/******/ var module = __webpack_module_cache__[moduleId] = { 66/******/ // no module.id needed 67/******/ // no module.loaded needed 68/******/ exports: {} 69/******/ }; 70/******/ 71/******/ // Execute the module function 72/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); 73/******/ 74/******/ // Return the exports of the module 75/******/ return module.exports; 76/******/ } 77/******/ 78/************************************************************************/ 79/******/ /* webpack/runtime/compat get default export */ 80/******/ (() => { 81/******/ // getDefaultExport function for compatibility with non-harmony modules 82/******/ __webpack_require__.n = (module) => { 83/******/ var getter = module && module.__esModule ? 84/******/ () => (module['default']) : 85/******/ () => (module); 86/******/ __webpack_require__.d(getter, { a: getter }); 87/******/ return getter; 88/******/ }; 89/******/ })(); 90/******/ 91/******/ /* webpack/runtime/define property getters */ 92/******/ (() => { 93/******/ // define getter functions for harmony exports 94/******/ __webpack_require__.d = (exports, definition) => { 95/******/ for(var key in definition) { 96/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 97/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 98/******/ } 99/******/ } 100/******/ }; 101/******/ })(); 102/******/ 103/******/ /* webpack/runtime/hasOwnProperty shorthand */ 104/******/ (() => { 105/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 106/******/ })(); 107/******/ 108/******/ /* webpack/runtime/make namespace object */ 109/******/ (() => { 110/******/ // define __esModule on exports 111/******/ __webpack_require__.r = (exports) => { 112/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 113/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 114/******/ } 115/******/ Object.defineProperty(exports, '__esModule', { value: true }); 116/******/ }; 117/******/ })(); 118/******/ 119/************************************************************************/ 120var __webpack_exports__ = {}; 121// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. 122(() => { 123"use strict"; 124/*!************************************************!*\ 125 !*** ./src/ReturnPlugin/assets/shop/encore.js ***! 126 \************************************************/ 127__webpack_require__.r(__webpack_exports__); 128/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./style.scss */ "./src/ReturnPlugin/assets/shop/style.scss"); 129/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app */ "./src/ReturnPlugin/assets/shop/app.js"); 130/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_app__WEBPACK_IMPORTED_MODULE_1__); 131 132 133})(); 134 135/******/ })() 136;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.