Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/webclient/javascript/main.js

    reb1ccd6 r33c6557  
    2828
    2929function displayDataSet(data){
    30         if(!Array.isArray(data) && !(data instanceof Object)){
    31                 console.log("No data array returned!");
    32                 console.log(data);
    33                 return;
    34         }
    3530        if(!("lastvalid" in data)){
    3631                        console.log("No last valid values given!");
    … …  
    124119        displayDataGet();
    125120        setInterval(displayDataGet, 10000);
    126 
     121       
    127122        $.getJSON("../webservice/tileserver.php?/map.json", mapSetup);
    128123       
Note: See TracChangeset for help on using the changeset viewer.