// netdata server already.
// var netdataServer = "http://yourhost:19999"; // set your NetData server
-//(function(window, document, undefined) {
+// global namespace
+var NETDATA = window.NETDATA || {};
+(function(window, document, undefined) {
// ------------------------------------------------------------------------
// compatibility fixes
};
}
- // global namespace
- var NETDATA = window.NETDATA || {};
-
NETDATA.name2id = function(s) {
return s
.replace(/ /g, '_')
}
});
});
-
- // window.NETDATA = NETDATA;
-// })(window, document);
+})(window, document);
and that you have chown it to be owned by netdata:netdata
-->
<!-- <script type="text/javascript" src="http://my.server:19999/dashboard.js"></script> -->
-<script type="text/javascript" src="dashboard.js?v20161219-1"></script>
+<script type="text/javascript" src="dashboard.js?v20161227-1"></script>
<script>
// --- OPTIONS FOR THE CHARTS --