Use ES6 template strings

This commit is contained in:
miruka
2019-11-18 03:57:13 -04:00
parent 2123f5a66f
commit 5a70adcc93
10 changed files with 18 additions and 27 deletions

View File

@@ -116,7 +116,7 @@ Item {
}
function showPage(name, properties={}) {
let path = "Pages/" + name + ".qml"
let path = `Pages/${name}.qml`
_show(path, properties)
window.uiState.page = path