mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Libs updates and new version with option to pin videos on channel
This commit is contained in:
parent
e1f2188de0
commit
1beab3b1c0
8565 changed files with 149805 additions and 165674 deletions
9
node_modules/chart.js/dist/chunks/helpers.segment.cjs
generated
vendored
9
node_modules/chart.js/dist/chunks/helpers.segment.cjs
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Chart.js v4.4.2
|
||||
* Chart.js v4.4.3
|
||||
* https://www.chartjs.org
|
||||
* (c) 2024 Chart.js Contributors
|
||||
* Released under the MIT License
|
||||
|
@ -1190,6 +1190,9 @@ function _longestText(ctx, font, arrayOfThings, cache) {
|
|||
/**
|
||||
* Clears the entire canvas.
|
||||
*/ function clearCanvas(canvas, ctx) {
|
||||
if (!ctx && !canvas) {
|
||||
return;
|
||||
}
|
||||
ctx = ctx || canvas.getContext('2d');
|
||||
ctx.save();
|
||||
// canvas.width and canvas.height do not consider the canvas transform,
|
||||
|
@ -1792,7 +1795,7 @@ function createContext(parentContext, context) {
|
|||
const readKey = (prefix, name)=>prefix ? prefix + _capitalize(name) : name;
|
||||
const needsSubResolver = (prop, value)=>isObject(value) && prop !== 'adapters' && (Object.getPrototypeOf(value) === null || value.constructor === Object);
|
||||
function _cached(target, prop, resolve) {
|
||||
if (Object.prototype.hasOwnProperty.call(target, prop)) {
|
||||
if (Object.prototype.hasOwnProperty.call(target, prop) || prop === 'constructor') {
|
||||
return target[prop];
|
||||
}
|
||||
const value = resolve();
|
||||
|
@ -2238,7 +2241,7 @@ const useOffsetPos = (x, y, target)=>(x > 0 || y > 0) && (!target || !target.sha
|
|||
function getContainerSize(canvas, width, height) {
|
||||
let maxWidth, maxHeight;
|
||||
if (width === undefined || height === undefined) {
|
||||
const container = _getParentNode(canvas);
|
||||
const container = canvas && _getParentNode(canvas);
|
||||
if (!container) {
|
||||
width = canvas.clientWidth;
|
||||
height = canvas.clientHeight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue