Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented .DAT File Editor #93

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
*.jrnl
*.log
out
node_modules
out/__tests__
out/src
*.vsix
.project
.settings
Expand Down
1 change: 1 addition & 0 deletions icons/dark/dat-preview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/light/dat-preview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions out/public/common.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
var gcLocalServer = "http://localhost";

function loadFile(server, callback) {
gcLocalServer = server;
var xhr = new XMLHttpRequest();
xhr.addEventListener("load", function() {
var storage = JSON.parse(this.response);
processFile(storage, callback);
});
xhr.open("GET", server + "/state");
xhr.send();
}
function postState(server, state, callback) {
var xhr = new XMLHttpRequest();
xhr.open("POST", server + "/state");
xhr.setRequestHeader("Content-Type", "application/json");
xhr.onreadystatechange = function() {
if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == 200) {
callback();
}
};
xhr.send(JSON.stringify(state));
}
13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.analytics.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.animation.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.annotation.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.finance.analytics.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.finance.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.hierarchical.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.interaction.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.radar.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.chart.render.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions out/public/controls/wijmo.gauge.min.js

Large diffs are not rendered by default.

Loading