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