░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/datadrive/moodledata/filedir/0f/38
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: 0f38b4f3bb0acba4b0735328664b1cda0d72dc8c
/** @namespace H5PUpgrades */ var H5PUpgrades = H5PUpgrades || {}; H5PUpgrades['H5P.Audio'] = (function () { return { 1: { 3: function (parameters, finished, extras) { // Use new copyright information if available. Fallback to old. var copyright; if (parameters.files && parameters.files.length > 0 && parameters.files[0] !== undefined) { copyright = parameters.files[0].copyright; } else if (parameters && parameters.copyright !== undefined) { copyright = parameters.copyright; } if (copyright) { var years = []; if (copyright.year) { // Try to find start and end year years = copyright.year .replace(' ', '') .replace('--', '-') // Try to check for LaTeX notation .split('-'); } var yearFrom = (years.length > 0) ? new Date(years[0]).getFullYear() : undefined; var yearTo = (years.length > 0) ? new Date(years[1]).getFullYear() : undefined; // Build metadata object var metadata = { title: copyright.title, authors: (copyright.author) ? [{name: copyright.author, role: 'Author'}] : undefined, source: copyright.source, yearFrom: isNaN(yearFrom) ? undefined : yearFrom, yearTo: isNaN(yearTo) ? undefined : yearTo, license: copyright.license, licenseVersion: copyright.version }; extras = extras || {}; extras.metadata = metadata; parameters.files.forEach(function (file) { delete file.copyright; }); } // Done finished(null, parameters, extras); } } }; })();
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 0f38b4f3bb0acba4b0735328664b1cda0d72dc8c
?
1.7 KB
2023-08-03 13:28
EDIT