phpcs fixes

This commit is contained in:
Dennis Eichhorn 2020-12-05 21:39:55 +01:00
parent 35f3d3ca51
commit f5a4aaa850
6 changed files with 123 additions and 125 deletions

View File

@ -324,8 +324,7 @@
let div = this.chartSelect.append("div").attr("class", "charttooltip").style("opacity", 0); let div = this.chartSelect.append("div").attr("class", "charttooltip").style("opacity", 0);
div.html(self.axis.x.label.text + ': ' + 100 + "<br/>" + self.axis.y.label.text + ': ' + 100); div.html(self.axis.x.label.text + ': ' + 100 + "<br/>" + self.axis.y.label.text + ': ' + 100);
temp.on("mouseover", function (d) temp.on("mouseover", function (d) {
{
let dim = div.node().getBoundingClientRect(); let dim = div.node().getBoundingClientRect();
let pos = this.getBoundingClientRect(); let pos = this.getBoundingClientRect();
@ -337,8 +336,7 @@
.style("left", (x(d.x) + dim.width / 2) + "px") .style("left", (x(d.x) + dim.width / 2) + "px")
.style("top", (y(d.y) + dim.height) + "px"); .style("top", (y(d.y) + dim.height) + "px");
}) })
.on("mouseout", function (d) .on("mouseout", function (d) {
{
div.transition() div.transition()
.duration(500) .duration(500)
.style("opacity", 0); .style("opacity", 0);

View File

@ -187,8 +187,7 @@ export class UriFactory
static build (uri, toMatch) static build (uri, toMatch)
{ {
const current = HttpUri.parseUrl(window.location.href); const current = HttpUri.parseUrl(window.location.href);
let parsed = uri.replace(new RegExp('\{[\/#\?%@\.\$\!][a-zA-Z0-9\-\#\.]*\}', 'g'), function (match) let parsed = uri.replace(new RegExp('\{[\/#\?%@\.\$\!][a-zA-Z0-9\-\#\.]*\}', 'g'), function (match) {
{
match = match.substr(1, match.length - 2); match = match.substr(1, match.length - 2);
if (typeof toMatch !== 'undefined' && toMatch.hasOwnProperty(match)) { if (typeof toMatch !== 'undefined' && toMatch.hasOwnProperty(match)) {

View File

@ -136,6 +136,7 @@
event.preventDefault(); event.preventDefault();
event.stopImmediatePropagation(); event.stopImmediatePropagation();
event.cancelBubble = true; event.cancelBubble = true;
};
/** /**
* Ready invoke * Ready invoke