mirror of
https://github.com/esiur/esiur-js.git
synced 2025-06-27 15:23:11 +00:00
1.3.0
This commit is contained in:
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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];
|
||||
|
Reference in New Issue
Block a user