]> arthur.barton.de Git - netdata.git/commitdiff
disabled debugging
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 2 Dec 2015 08:57:30 +0000 (10:57 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 2 Dec 2015 08:57:30 +0000 (10:57 +0200)
web/dashboard.js

index 4e2cb8920d4b83d60b72b23aa4f51c4a76f66499..9bc91c1c4983eb28fcf7004610baaeed336411d4 100755 (executable)
@@ -3,17 +3,14 @@
 // var netdataStopDygraph = 1;                 // do not use dygraph
 // var netdataStopSparkline = 1;               // do not use sparkline
 // var netdataStopPeity = 1;                   // do not use peity
+// var netdataStopGoogleCharts = 1;            // do not use google
+// var netdataStopMorris = 1;                  // do not use morris
 //
 // You can also set the default netdata server, using the following.
 // When this variable is not set, we assume the page is hosted on your
 // netdata server already.
 // var netdataServer = "http://yourhost:19999"; // set your NetData server
 
-// --------------------------------------------------------------------------------------------------------------------
-// For google charts you need this in your page:
-//     <script type="text/javascript" src="https://www.google.com/jsapi"></script>
-//     <script type='text/javascript'>google.load('visualization', '1.1', {'packages':['corechart', 'controls']});</script>
-
 (function(window)
 {
        // fix IE bug with console
@@ -91,7 +88,7 @@
        NETDATA.options = {
                targets: null,                          
                updated_dom: 1,
-               debug: 1,
+               debug: 0,
                last_paused: 0,
 
                current: {
                }
        }
 
-       NETDATA.domUpdated = function(callback) {
+       NETDATA.getDomCharts = function(callback) {
                NETDATA.options.updated_dom = 0;
 
                NETDATA.options.targets = $('div[data-netdata]').filter(':visible')
 
        NETDATA.init = function() {
                // this should be called only once
-               NETDATA.domUpdated(function() {
+               NETDATA.getDomCharts(function() {
                        NETDATA.chartRefresher(0);
                });
        }
                now = new Date().getTime();
 
                if(NETDATA.options.updated_dom) {
-                       NETDATA.domUpdated(function() {
+                       NETDATA.getDomCharts(function() {
                                NETDATA.chartRefresher(0);
                        });
                }
        }
 
        // ----------------------------------------------------------------------------------------------------------------
-       // piety
+       // peity
 
        NETDATA.peityInitialize = function(callback) {
                if(typeof netdataStopPeity == 'undefined') {