Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
16 lines
609 B
JavaScript
Executable file
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;
|