20 lines
No EOL
566 B
JavaScript
20 lines
No EOL
566 B
JavaScript
(function (window) {
|
|
"use strict";
|
|
|
|
window.ls.container.set('realtime', () => {
|
|
return {
|
|
current: null,
|
|
history: null,
|
|
setCurrent: function(currentConnections) {
|
|
var scope = this;
|
|
scope.current = currentConnections;
|
|
return scope.current;
|
|
},
|
|
setHistory: function(history) {
|
|
var scope = this;
|
|
scope.history = history;
|
|
return scope.history;
|
|
}
|
|
};
|
|
}, true, true);
|
|
})(window); |