1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 19:23:52 +00:00

dont allow shorthand property assignments

This commit is contained in:
Kyle Spearrin
2017-12-06 14:23:34 -05:00
parent 5319568d81
commit a4127f2571
24 changed files with 30 additions and 28 deletions

View File

@@ -18,10 +18,10 @@ export default function i18nService(utilsService: UtilsService) {
}
return new Proxy({}, {
get(target, name) {
get: (target, name) => {
return chrome.i18n.getMessage(name);
},
set(target, name, value) {
set: (target, name, value) => {
return false;
},
});