mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-13 16:08:41 +00:00
phpcs fixes
This commit is contained in:
parent
35f3d3ca51
commit
f5a4aaa850
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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)) {
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,7 @@
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopImmediatePropagation();
|
event.stopImmediatePropagation();
|
||||||
event.cancelBubble = true;
|
event.cancelBubble = true;
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ready invoke
|
* Ready invoke
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user