mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
commit
9261cd9766
2 changed files with 15 additions and 1 deletions
|
@ -204,11 +204,15 @@ var Preferences = {
|
|||
// // These preferences can be overridden by the user.
|
||||
// chrome.storage.managed.get(DEFAULT_PREFERENCES, getPreferences);
|
||||
// } else {
|
||||
// // Managed storage not supported, e.g. in Opera.
|
||||
// // Managed storage not supported, e.g. in old Chromium versions.
|
||||
// getPreferences(DEFAULT_PREFERENCES);
|
||||
// }
|
||||
//
|
||||
// function getPreferences(defaultPrefs) {
|
||||
// if (chrome.runtime.lastError) {
|
||||
// // Managed storage not supported, e.g. in Opera.
|
||||
// defaultPrefs = DEFAULT_PREFERENCES;
|
||||
// }
|
||||
// chrome.storage.local.get(defaultPrefs, function(readPrefs) {
|
||||
// resolve(readPrefs);
|
||||
// });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue