Update the git attributes

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-01-10 12:46:08 +01:00
parent 6014aaec88
commit 64435e574e
No known key found for this signature in database
GPG key ID: F941078878347C0C
5 changed files with 13 additions and 7 deletions

3
.gitattributes vendored
View file

@ -5,6 +5,8 @@
/apps/accessibility/js/accessibility.js.map binary
/apps/oauth2/js/oauth2.js binary
/apps/oauth2/js/oauth2.js.map binary
/apps/twofactor_backupcodes/js/*.js binary
/apps/twofactor_backupcodes/js/*.js.map binary
/apps/updatenotification/js/updatenotification.js binary
/apps/updatenotification/js/updatenotification.js.map binary
@ -14,4 +16,3 @@
/settings/js/settings-vue.js.map binary
/settings/js/0.js binary
/settings/js/0.js.map binary

View file

@ -1849,7 +1849,8 @@
"ansi-regex": {
"version": "2.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
@ -2264,7 +2265,8 @@
"safe-buffer": {
"version": "5.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
@ -2320,6 +2322,7 @@
"version": "3.0.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@ -2363,12 +2366,14 @@
"wrappy": {
"version": "1.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"yallist": {
"version": "3.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
}
}
},

View file

@ -4,9 +4,9 @@ import store from './store';
Vue.prototype.t = t;
const initialStateElem = JSON.parse(atob(document.getElementById('twofactor-backupcodes-initial-state').value));
const initialStateElem = document.getElementById('twofactor-backupcodes-initial-state');
store.replaceState(
initialStateElem
JSON.parse(atob(initialStateElem.value))
)
const View = Vue.extend(PersonalSettings)