diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-28 21:32:48 +0000 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-02-28 21:32:48 +0000 |
| commit | 28ebae4525f35672acd6253b3022bdb8cdc1cbd1 (patch) | |
| tree | f78cd401095f6405057d3e67509218483f789413 /main.js | |
| parent | 46d3ba84ed407548d368dd146393e747cfb2d0af (diff) | |
| download | sql-plus-plus-28ebae4525f35672acd6253b3022bdb8cdc1cbd1.tar.xz sql-plus-plus-28ebae4525f35672acd6253b3022bdb8cdc1cbd1.zip | |
Update readme. Fix result parsing bug. Rearrange files
- Prefix query result fields with an underscore to avoid clashing with JS builtin property/function names which causes issues with Tabulator
- Move html files into their own dir
Diffstat (limited to 'main.js')
| -rw-r--r-- | main.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,7 +20,7 @@ function createMainWindow() { height: 600 }); uiWindow.loadURL(url.format({ - pathname: path.join(__dirname, "index.html"), + pathname: path.join(__dirname, "html", "index.html"), protocol: "file:", slashes: true })); @@ -54,7 +54,7 @@ function createNewConnectionDialog() { height: 600 }); newConnectionDialog.loadURL(url.format({ - pathname: path.join(__dirname, "new-connection.html"), + pathname: path.join(__dirname, "html", "new-connection.html"), protocol: "file:", slashes: true })); @@ -79,7 +79,7 @@ function createQueryExecutor(payload) { console.log("created executor with id:" + executor.executorId); executor.loadURL(url.format({ - pathname: path.join(__dirname, "./query-executor-wrapper.html"), + pathname: path.join(__dirname, "html", "query-executor-wrapper.html"), protocol: "file:", slashes: true })); |