up handlebars.js

This commit is contained in:
antelle 2019-09-30 19:36:16 +02:00
parent 7e0565df3b
commit 3b8e6d7585
4 changed files with 20 additions and 23 deletions

View File

@ -38,7 +38,7 @@ class FooterView extends View {
render() {
super.render({
files: this.model.files.toJSON(),
files: this.model.files,
updateAvailable: ['ready', 'found'].indexOf(UpdateModel.updateStatus) >= 0
});
}

View File

@ -53,10 +53,7 @@ class MenuItemView extends View {
render() {
this.removeInnerViews();
super.render({
...this.model,
options: this.model.options ? this.model.options.toJSON() : undefined
});
super.render(this.model);
if (this.model.options) {
window.model = this.model;
}

30
package-lock.json generated
View File

@ -1106,9 +1106,9 @@
}
},
"acorn": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.0.0.tgz",
"integrity": "sha512-PaF/MduxijYYt7unVGRuds1vBC9bFxbNf+VWqhOClfdgy7RlVkQqt610ig1/yxTgsDIfW1cWDel5EBbOy3jdtQ=="
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
"integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ=="
},
"acorn-jsx": {
"version": "5.0.2",
@ -4130,9 +4130,9 @@
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
},
"eslint": {
"version": "6.4.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-6.4.0.tgz",
"integrity": "sha512-WTVEzK3lSFoXUovDHEbkJqCVPEPwbhCq4trDktNI6ygs7aO41d4cDT0JFAT5MivzZeVLWlg7vHL+bgrQv/t3vA==",
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-6.5.0.tgz",
"integrity": "sha512-IIbSW+vKOqMatPmS9ayyku4tvWxHY2iricSRtOz6+ZA5IPRlgXzEL0u/j6dr4eha0ugmhMwDTqxtmNu3kj9O4w==",
"requires": {
"@babel/code-frame": "^7.0.0",
"ajv": "^6.10.0",
@ -6129,9 +6129,9 @@
}
},
"glob-parent": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz",
"integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==",
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
"integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
"requires": {
"is-glob": "^4.0.1"
}
@ -6699,9 +6699,9 @@
"integrity": "sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ=="
},
"handlebars": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.3.4.tgz",
"integrity": "sha512-vvpo6mpK4ScNC1DbGRZ2d5BznS6ht0r1hi20RivsibMc6jNvFAeZQ6qk5VNspo6SOwVOJQbjHyBCpuS7BzA1pw==",
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.4.0.tgz",
"integrity": "sha512-xkRtOt3/3DzTKMOt3xahj2M/EqNhY988T+imYSlMgs5fVhLN2fmKVVj0LtEGmb+3UUYV5Qmm1052Mm3dIQxOvw==",
"requires": {
"neo-async": "^2.6.0",
"optimist": "^0.6.1",
@ -8353,9 +8353,9 @@
}
},
"morphdom": {
"version": "2.5.8",
"resolved": "https://registry.npmjs.org/morphdom/-/morphdom-2.5.8.tgz",
"integrity": "sha512-w2DG6zJaI83oAv3Acimoj45AWTkKh57swi70NsxixHnalxrbNcy81TGk24YZRVSU82BeX8BH9wf8Df7A5DVu9Q=="
"version": "2.5.9",
"resolved": "https://registry.npmjs.org/morphdom/-/morphdom-2.5.9.tgz",
"integrity": "sha512-dRsv6iD9XP9Ysz9qaJFhOO5cS8rwgOJXqSdIQOvh6/yWl69S7mKndouzDsQn7bSCs1fkNe/dtfy0nMUjGVcjnw=="
},
"move-concurrently": {
"version": "1.0.1",

View File

@ -24,7 +24,7 @@
"bourbon": "^6.0.0",
"dompurify": "^2.0.3",
"electron": "^6.0.10",
"eslint": "^6.4.0",
"eslint": "^6.5.0",
"eslint-config-prettier": "^6.3.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
@ -48,7 +48,7 @@
"grunt-inline-alt": "github:keeweb/grunt-inline-alt#ec9f6ad",
"grunt-string-replace": "1.3.1",
"grunt-webpack": "3.1.3",
"handlebars": "^4.3.4",
"handlebars": "^4.4.0",
"handlebars-loader": "1.7.1",
"html-minifier": "4.0.0",
"ignore-loader": "^0.1.2",
@ -60,7 +60,7 @@
"lodash": "^4.17.15",
"marked": "^0.7.0",
"mini-css-extract-plugin": "^0.8.0",
"morphdom": "^2.5.8",
"morphdom": "^2.5.9",
"node-sass": "^4.12.0",
"node-stream-zip": "1.8.2",
"normalize.css": "8.0.1",