mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-08 14:23:30 +00:00
12 lines
424 B
JavaScript
12 lines
424 B
JavaScript
// Quota Storage Management API
|
|
// This API can be used to check how much quota an origin is using and request more
|
|
|
|
// Currently only implemented in Chrome.
|
|
// https://developers.google.com/chrome/whitepapers/storage
|
|
// By Addy Osmani
|
|
|
|
Modernizr.addTest('quotamanagement', function(){
|
|
var storage = Modernizr.prefixed('StorageInfo', window);
|
|
return !!(storage && 'TEMPORARY' in storage && 'PERSISTENT' in storage);
|
|
});
|