Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

quota-management-api.js 424B

1234567891011
  1. // Quota Storage Management API
  2. // This API can be used to check how much quota an origin is using and request more
  3. // Currently only implemented in Chrome.
  4. // https://developers.google.com/chrome/whitepapers/storage
  5. // By Addy Osmani
  6. Modernizr.addTest('quotamanagement', function(){
  7. var storage = Modernizr.prefixed('StorageInfo', window);
  8. return !!(storage && 'TEMPORARY' in storage && 'PERSISTENT' in storage);
  9. });