mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Minor changes
- Update assets from gorhill/uBlock/master - Remove whitespace from element-picker.js - Simplify code in profiler.js (btw, Date is still needed as fallback for older browsers) - Clarification for Safari's storage where the QUOTA_BYTES came from
This commit is contained in:
parent
723fc6087c
commit
4278121f74
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
|||
/******************************************************************************/
|
||||
|
||||
var quickProfiler = (function() {
|
||||
var timer = typeof performance === "undefined" ? Date : performance;
|
||||
var timer = window.performance || Date;
|
||||
var time = 0;
|
||||
var count = 0;
|
||||
var tstart = 0;
|
||||
|
|
|
@ -271,7 +271,7 @@ if (window.chrome) {
|
|||
|
||||
vAPI.storage = {
|
||||
_storage: safari.extension.settings,
|
||||
QUOTA_BYTES: 50 * 1024 * 1024,
|
||||
QUOTA_BYTES: 52428800, // copied from Info.plist
|
||||
get: function(keys, callback) {
|
||||
if (typeof callback !== 'function') {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue