Commit 0272cd63 authored by Jeremy Fischer's avatar Jeremy Fischer
Browse files

Warnings when using legacy stuff.

parent 65820fc8
//This is unused code. It updates pre-2.0 graph data to new format
var legacy_root_node = true;
var newAddresses = {};
function importLegacyGraph(node, original_parent, level) {
......
function sync_get(filename) {
console.error("USE OF SYNC_GET");
var xhttp = new XMLHttpRequest();
xhttp.open("GET", filename, false);
xhttp.send();
......@@ -7,6 +8,7 @@ function sync_get(filename) {
}
function async_post(filename, data, callback, extra_info) {
console.error("USE OF ASYNC_POST");
var xhttp = new XMLHttpRequest();
xhttp.open('POST', filename, true);
xhttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment