2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-06-27 15:23:11 +00:00
This commit is contained in:
2019-08-07 05:00:25 +03:00
parent 399a096c58
commit 7d2bcc60f7
20 changed files with 126 additions and 106 deletions

View File

@ -26,8 +26,8 @@
"use strict";
import IEventHandler from '../Engine/IEventHandler.js';
import IDestructible from '../Engine/IDestructible.js';
import IEventHandler from '../Core/IEventHandler.js';
import IDestructible from '../Core/IDestructible.js';
export default class AutoList extends IEventHandler
{

View File

@ -25,8 +25,8 @@
*/
"use strict";
import IEventHandler from '../Engine/IEventHandler.js';
import IDestructible from '../Engine/IDestructible.js';
import IEventHandler from '../Core/IEventHandler.js';
import IDestructible from '../Core/IDestructible.js';
export default class AutoMap extends IEventHandler
{

View File

@ -30,13 +30,15 @@ import DataType from './DataType.js';
import ResourceComparisonResult from './ResourceComparisionResult.js';
import StructureComparisonResult from './StructureComparisonResult.js';
import AsyncBag from '../Engine/AsyncBag.js';
import AsyncReply from '../Engine/AsyncReply.js';
import AsyncBag from '../Core/AsyncBag.js';
import AsyncReply from '../Core/AsyncReply.js';
import Structure from './Structure.js';
import PropertyValue from './PropertyValue.js';
import {DC, BL} from './DataConverter.js';
import BinaryList from './BinaryList.js';
import DistributedPropertyContext from '../Net/IIP/DistributedPropertyContext.JS';
import DistributedPropertyContext from '../Net/IIP/DistributedPropertyContext.js';
import DistributedResource from '../Net/IIP/DistributedResource.js'
import IResource from '../Resource/IResource.js';
export default class Codec {

View File

@ -25,7 +25,7 @@
*/
"use strict";
import IDestructible from '../Engine/IDestructible.js';
import IDestructible from '../Core/IDestructible.js';
export default class KeyList
{
@ -35,6 +35,14 @@ export default class KeyList
this.values = [];
}
toObject()
{
var rt = {};
for(var i = 0; i < this.keys.length; i++)
rt[this.keys[i]]=this.values[i];
return rt;
}
at(index)
{
return this.values[index];