Commit a9cdf580 by Vitor Boschi

fix typo

parent 990acb3f
...@@ -171,7 +171,7 @@ function($, _) { ...@@ -171,7 +171,7 @@ function($, _) {
kbn.describe_interval = function (string) { kbn.describe_interval = function (string) {
var matches = string.match(kbn.interval_regex); var matches = string.match(kbn.interval_regex);
if (!matches || !_.has(kbn.intervals_in_seconds, matches[2])) { if (!matches || !_.has(kbn.intervals_in_seconds, matches[2])) {
throw new Error('Invalid interval string, expexcting a number followed by one of "Mwdhmsy"'); throw new Error('Invalid interval string, expecting a number followed by one of "Mwdhmsy"');
} else { } else {
return { return {
sec: kbn.intervals_in_seconds[matches[2]], sec: kbn.intervals_in_seconds[matches[2]],
......
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