Commit 36ec15be by Ryan Williams

fix some scripted-dashboard-comment typos

parent c29bf31f
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/* /*
* Complex scripted dashboard * Complex scripted dashboard
* This script generates a dashboard object that Grafana can load. It also takes a number of user * This script generates a dashboard object that Grafana can load. It also takes a number of user
* supplied URL parameters (int ARGS variable) * supplied URL parameters (in the ARGS variable)
* *
* Return a dashboard object, or a function * Return a dashboard object, or a function
* *
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
'use strict'; 'use strict';
// accessable variables in this scope // accessible variables in this scope
var window, document, ARGS, $, jQuery, moment, kbn; var window, document, ARGS, $, jQuery, moment, kbn;
// Setup some variables // Setup some variables
...@@ -31,7 +31,7 @@ dashboard = { ...@@ -31,7 +31,7 @@ dashboard = {
dashboard.title = 'Scripted dash'; dashboard.title = 'Scripted dash';
// Set default time // Set default time
// time can be overriden in the url using from/to parameteres, but this is // time can be overriden in the url using from/to parameters, but this is
// handled automatically in grafana core during dashboard initialization // handled automatically in grafana core during dashboard initialization
dashboard.time = { dashboard.time = {
from: "now-6h", from: "now-6h",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/* /*
* Complex scripted dashboard * Complex scripted dashboard
* This script generates a dashboard object that Grafana can load. It also takes a number of user * This script generates a dashboard object that Grafana can load. It also takes a number of user
* supplied URL parameters (int ARGS variable) * supplied URL parameters (in the ARGS variable)
* *
* Global accessable variables * Global accessable variables
* window, document, $, jQuery, ARGS, moment * window, document, $, jQuery, ARGS, moment
...@@ -11,12 +11,12 @@ ...@@ -11,12 +11,12 @@
* Return a dashboard object, or a function * Return a dashboard object, or a function
* *
* For async scripts, return a function, this function must take a single callback function, * For async scripts, return a function, this function must take a single callback function,
* call this function with the dasboard object * call this function with the dashboard object
*/ */
'use strict'; 'use strict';
// accessable variables in this scope // accessible variables in this scope
var window, document, ARGS, $, jQuery, moment, kbn; var window, document, ARGS, $, jQuery, moment, kbn;
return function(callback) { return function(callback) {
...@@ -34,7 +34,7 @@ return function(callback) { ...@@ -34,7 +34,7 @@ return function(callback) {
dashboard.title = 'Scripted dash'; dashboard.title = 'Scripted dash';
// Set default time // Set default time
// time can be overriden in the url using from/to parameteres, but this is // time can be overriden in the url using from/to parameters, but this is
// handled automatically in grafana core during dashboard initialization // handled automatically in grafana core during dashboard initialization
dashboard.time = { dashboard.time = {
from: "now-6h", from: "now-6h",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/* /*
* Complex scripted dashboard * Complex scripted dashboard
* This script generates a dashboard object that Grafana can load. It also takes a number of user * This script generates a dashboard object that Grafana can load. It also takes a number of user
* supplied URL parameters (int ARGS variable) * supplied URL parameters (in the ARGS variable)
* *
* Return a dashboard object, or a function * Return a dashboard object, or a function
* *
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
'use strict'; 'use strict';
// accessable variables in this scope // accessible variables in this scope
var window, document, ARGS, $, jQuery, moment, kbn, services, _; var window, document, ARGS, $, jQuery, moment, kbn, services, _;
// default datasource // default datasource
......
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