1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02: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:
Deathamns 2014-10-19 11:43:57 +02:00
parent 723fc6087c
commit 4278121f74
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;