VulpesOS/gaia/apps/gallery/js/globals.js
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

16 lines
609 B
JavaScript
Executable file

/* exported files, picking, photodb */
'use strict';
// This array holds information about all the image and video files we
// know about. Each array element is an object that includes a
// filename and metadata. The array is initially filled when we
// enumerate the mediadb, and has elements added and removed when we
// receive create and delete events from the media databases.
var files = [];
// If we're doing a pick activity, our URL will end with '#pick'
var picking = (window.location.hash === '#pick');
// The MediaDB object that manages the filesystem and the database of metadata
var photodb;