reduce lines on template.configure()
This commit is contained in:
parent
d73ddbdd7e
commit
aca048f3d6
1 changed files with 3 additions and 4 deletions
|
@ -309,16 +309,15 @@ class template {
|
|||
? global.write(PREFERENCE[`name`], PREFERENCES[`all`][`build`][PREFERENCE[`name`]], -1)
|
||||
: false;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
/*
|
||||
Use our preferences when handling the data.
|
||||
*/
|
||||
static configure() {
|
||||
chrome.storage.session.setAccessLevel(
|
||||
{accessLevel: 'TRUSTED_AND_UNTRUSTED_CONTEXTS'}
|
||||
);
|
||||
chrome.storage.session.setAccessLevel({accessLevel: 'TRUSTED_AND_UNTRUSTED_CONTEXTS'});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue