2 * This file is part of WolneLektury-Mobile, licensed under GNU Affero GPLv3 or later.
3 * Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
8 * @return Object literal singleton instance of DBPut
12 * @param asset Path to the asset (relative to assets dir)
13 * @param target Path to DB file (relative to app db files dir)
15 * @param win Success callback
16 * @param fail Error callback
18 put: function(asset, target, overwrite, win, fail) {
19 if (overwrite==false) overwrite="false";
20 else overwrite="true";
26 [asset, target, overwrite]
29 fetch: function(url, win, fail) {