mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-20 05:38:41 +00:00
23 lines
644 B
JavaScript
23 lines
644 B
JavaScript
(function (uriFactory, undefined) {
|
|
jsOMS.Autoloader.defineNamespace('jsOMS.Message.Response');
|
|
|
|
jsOMS.Message.Response.Response = function (data) {
|
|
this.responses = data;
|
|
};
|
|
|
|
jsOMS.Message.Response.Response.prototype.get = function(id)
|
|
{
|
|
return this.responses[id];
|
|
};
|
|
|
|
jsOMS.Message.Response.Response.prototype.getByIndex = function(index)
|
|
{
|
|
//return this.responses[Object.keys(this.responses).sort()[index]];
|
|
return this.responses;
|
|
};
|
|
|
|
jsOMS.Message.Response.Response.prototype.count = function()
|
|
{
|
|
return 1;
|
|
};
|
|
}(window.jsOMS = window.jsOMS || {})); |