bug global_tabvar seems solved:

Caused by a race condition, Just switched two functions execution
pull/63/head
Mokaddem 2016-07-21 14:53:34 +02:00
parent 6f4bfeb4ef
commit 9a34a587cc
1 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,17 @@
function initfunc( csvay, scroot) {
window.csv = csvay;
window.scroot = scroot;
};
function update_values() {
$SCRIPT_ROOT = window.scroot ;
$.getJSON($SCRIPT_ROOT+"/_stuff",
function(data) {
window.glob_tabvar = data;
});
};
// Plot and update the number of processed pastes
$(function() {
var data = [];