mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix 'paranthesis' typo to 'parenthesis'
This typo is most noticable in the Graphite lexer error hint message.
This commit is contained in:
parent
a79c1cb23f
commit
e20e2117f7
@ -142,13 +142,13 @@ define([
|
|||||||
name: this.consumeToken().value,
|
name: this.consumeToken().value,
|
||||||
};
|
};
|
||||||
|
|
||||||
// consume left paranthesis
|
// consume left parenthesis
|
||||||
this.consumeToken();
|
this.consumeToken();
|
||||||
|
|
||||||
node.params = this.functionParameters();
|
node.params = this.functionParameters();
|
||||||
|
|
||||||
if (!this.match(')')) {
|
if (!this.match(')')) {
|
||||||
this.errorMark('Expected closing paranthesis');
|
this.errorMark('Expected closing parenthesis');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.consumeToken();
|
this.consumeToken();
|
||||||
|
@ -118,11 +118,11 @@ define([
|
|||||||
expect(rootNode.pos).to.be(19);
|
expect(rootNode.pos).to.be(19);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('invalid function expression missing closing paranthesis', function() {
|
it('invalid function expression missing closing parenthesis', function() {
|
||||||
var parser = new Parser('sum(test');
|
var parser = new Parser('sum(test');
|
||||||
var rootNode = parser.getAst();
|
var rootNode = parser.getAst();
|
||||||
|
|
||||||
expect(rootNode.message).to.be('Expected closing paranthesis instead found end of string');
|
expect(rootNode.message).to.be('Expected closing parenthesis instead found end of string');
|
||||||
expect(rootNode.pos).to.be(9);
|
expect(rootNode.pos).to.be(9);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
2
public/vendor/bootstrap/bootstrap.js
vendored
2
public/vendor/bootstrap/bootstrap.js
vendored
@ -2069,7 +2069,7 @@
|
|||||||
, move: function (e) {
|
, move: function (e) {
|
||||||
if (!this.shown) return
|
if (!this.shown) return
|
||||||
|
|
||||||
// grafana change, shift+left paranthesis
|
// grafana change, shift+left parenthesis
|
||||||
if (e.shiftKey && e.keyCode === 40) {
|
if (e.shiftKey && e.keyCode === 40) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user