mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-16 01:08:41 +00:00
Auto fixes
This commit is contained in:
parent
46d85add69
commit
23f1bb3345
2
Chart/Chart.js
vendored
2
Chart/Chart.js
vendored
|
|
@ -500,7 +500,7 @@
|
||||||
text: {
|
text: {
|
||||||
title: false,
|
title: false,
|
||||||
subtitle: false,
|
subtitle: false,
|
||||||
footer: false,
|
footer: false
|
||||||
},
|
},
|
||||||
legend: false
|
legend: false
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
(function (jsOMS, undefined) {
|
(function (jsOMS, undefined) {
|
||||||
jsOMS.Client = function () {
|
jsOMS.Client = function (ip, port, protocol) {
|
||||||
this.port = 80;
|
this.port = port;
|
||||||
this.ip = '127.0.0.1';
|
this.ip = ip;
|
||||||
this.protocol = '';
|
this.protocol = protocol;
|
||||||
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;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user