mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-16 09:18:42 +00:00
cleanup and tests added for ci/cd
This commit is contained in:
parent
fd791cca05
commit
da4032f5d6
|
|
@ -57,6 +57,7 @@
|
||||||
visible: true
|
visible: true
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.chart.subtype = 'candlestick';
|
this.chart.subtype = 'candlestick';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@
|
||||||
visible: true
|
visible: true
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.chart.subtype = 'waterfall';
|
this.chart.subtype = 'waterfall';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@
|
||||||
visible: true
|
visible: true
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.chart.subtype = 'scatterplot';
|
this.chart.subtype = 'scatterplot';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ export class EventManager {
|
||||||
{
|
{
|
||||||
if (this.callbacks.hasOwnProperty(group)) {
|
if (this.callbacks.hasOwnProperty(group)) {
|
||||||
return this.triggerSingleEvent(group, id, data);
|
return this.triggerSingleEvent(group, id, data);
|
||||||
}
|
}p
|
||||||
|
|
||||||
const allGroups = Object.keys(this.callbacks),
|
const allGroups = Object.keys(this.callbacks),
|
||||||
regex = new RegExp(group),
|
regex = new RegExp(group),
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
this.connection = null;
|
this.connection = null;
|
||||||
this.messages = [];
|
this.messages = [];
|
||||||
};
|
};
|
||||||
|
|
||||||
jsOMS.Client.prototype.setMessage = function(id, callback) {
|
jsOMS.Client.prototype.setMessage = function(id, callback) {
|
||||||
this.messages[id] = callback;
|
this.messages[id] = callback;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@ export class Tab {
|
||||||
this.bindElement(e);
|
this.bindElement(e);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const tabs = document.getElementsByClassName('tabview'),
|
const tabs = document.getElementsByClassName('tabview');
|
||||||
length = !tabs ? 0 : tabs.length;
|
const length = !tabs ? 0 : tabs.length;
|
||||||
|
|
||||||
for (let i = 0; i < length; ++i) {
|
for (let i = 0; i < length; ++i) {
|
||||||
this.bindElement(tabs[i]);
|
this.bindElement(tabs[i]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user