mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
remove compiled assets
This commit is contained in:
parent
c88071de26
commit
b472249751
5 changed files with 0 additions and 97775 deletions
17256
public/css/app.css
vendored
17256
public/css/app.css
vendored
File diff suppressed because one or more lines are too long
92
public/js/activity.js
vendored
92
public/js/activity.js
vendored
|
@ -1,92 +0,0 @@
|
||||||
/******/ (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, {
|
|
||||||
/******/ configurable: false,
|
|
||||||
/******/ enumerable: true,
|
|
||||||
/******/ get: getter
|
|
||||||
/******/ });
|
|
||||||
/******/ }
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // 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 = 1);
|
|
||||||
/******/ })
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ ({
|
|
||||||
|
|
||||||
/***/ "./resources/assets/js/activity.js":
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.pagination').hide();
|
|
||||||
var elem = document.querySelector('.notification-page .list-group');
|
|
||||||
var infScroll = new InfiniteScroll(elem, {
|
|
||||||
path: '.pagination__next',
|
|
||||||
append: '.notification-page .list-group',
|
|
||||||
status: '.page-load-status',
|
|
||||||
history: true
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 1:
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
module.exports = __webpack_require__("./resources/assets/js/activity.js");
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
/******/ });
|
|
39618
public/js/app.js
vendored
39618
public/js/app.js
vendored
File diff suppressed because it is too large
Load diff
40661
public/js/components.js
vendored
40661
public/js/components.js
vendored
File diff suppressed because one or more lines are too long
148
public/js/timeline.js
vendored
148
public/js/timeline.js
vendored
|
@ -1,148 +0,0 @@
|
||||||
/******/ (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, {
|
|
||||||
/******/ configurable: false,
|
|
||||||
/******/ enumerable: true,
|
|
||||||
/******/ get: getter
|
|
||||||
/******/ });
|
|
||||||
/******/ }
|
|
||||||
/******/ };
|
|
||||||
/******/
|
|
||||||
/******/ // 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 = 3);
|
|
||||||
/******/ })
|
|
||||||
/************************************************************************/
|
|
||||||
/******/ ({
|
|
||||||
|
|
||||||
/***/ "./resources/assets/js/timeline.js":
|
|
||||||
/***/ (function(module, exports) {
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.pagination').hide();
|
|
||||||
$('.container.timeline-container').removeClass('d-none');
|
|
||||||
var elem = document.querySelector('.timeline-feed');
|
|
||||||
var type = elem.getAttribute('data-timeline');
|
|
||||||
$('.timeline-sidenav .nav-link[data-type="' + type + '"]').addClass('active');
|
|
||||||
pixelfed.readmore();
|
|
||||||
pixelfed.fetchLikes();
|
|
||||||
$('video').on('play', function () {
|
|
||||||
activated = this;
|
|
||||||
$('video').each(function () {
|
|
||||||
if (this != activated) this.pause();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
var infScroll = new InfiniteScroll(elem, {
|
|
||||||
path: '.pagination__next',
|
|
||||||
append: '.timeline-feed',
|
|
||||||
status: '.page-load-status',
|
|
||||||
history: false
|
|
||||||
});
|
|
||||||
|
|
||||||
infScroll.on('append', function (response, path, items) {
|
|
||||||
pixelfed.hydrateLikes();
|
|
||||||
$('.status-card > .card-footer').each(function () {
|
|
||||||
var el = $(this);
|
|
||||||
if (!el.hasClass('d-none') && !el.find('input[name="comment"]').val()) {
|
|
||||||
$(this).addClass('d-none');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$('video').on('play', function () {
|
|
||||||
activated = this;
|
|
||||||
$('video').each(function () {
|
|
||||||
if (this != activated) this.pause();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).on("DOMContentLoaded", function () {
|
|
||||||
|
|
||||||
var active = false;
|
|
||||||
var lazyLoad = function lazyLoad() {
|
|
||||||
pixelfed.readmore();
|
|
||||||
if (active === false) {
|
|
||||||
active = true;
|
|
||||||
|
|
||||||
var lazyImages = [].slice.call(document.querySelectorAll("img.lazy"));
|
|
||||||
lazyImages.forEach(function (lazyImage) {
|
|
||||||
if (lazyImage.getBoundingClientRect().top <= window.innerHeight && lazyImage.getBoundingClientRect().bottom >= 0 && getComputedStyle(lazyImage).display !== "none") {
|
|
||||||
lazyImage.src = lazyImage.dataset.src;
|
|
||||||
lazyImage.srcset = lazyImage.dataset.srcset;
|
|
||||||
lazyImage.classList.remove("lazy");
|
|
||||||
|
|
||||||
lazyImages = lazyImages.filter(function (image) {
|
|
||||||
return image !== lazyImage;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
active = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
document.addEventListener("scroll", lazyLoad);
|
|
||||||
window.addEventListener("resize", lazyLoad);
|
|
||||||
window.addEventListener("orientationchange", lazyLoad);
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 3:
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
module.exports = __webpack_require__("./resources/assets/js/timeline.js");
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
/******/ });
|
|
Loading…
Add table
Reference in a new issue