Skip to content

Instantly share code, notes, and snippets.

View chasen's full-sized avatar

Chase Noel chasen

View GitHub Profile
;(
function ( window, Q, BaseObject ) {
var DEBUG = false;
/**
* Requests a quota from the file system
* @param {Constant} fileSystemType PERSISTENT or TEMPORARY
* @param {Number} requestedDataSize The quota we're asking for
* @return {Promise} The promise
*/