mirror of
https://github.com/esiur/esiur-js.git
synced 2026-03-18 15:30:38 +00:00
1.6.0
This commit is contained in:
@@ -6,8 +6,10 @@ import MemoryStore from './Stores/MemoryStore.js';
|
||||
import IndexedDBStore from './Stores/IndexedDBStore.js';
|
||||
import IResource from './Resource/IResource.js';
|
||||
import ResourceProxy from './Proxy/ResourceProxy.js';
|
||||
import DistributedConnection from './Net/IIP/DistributedConnection.js';
|
||||
|
||||
if (window) {
|
||||
if (typeof window !== 'undefined')
|
||||
{
|
||||
window.wh = wh;
|
||||
window.Structure = Structure;
|
||||
window.DistributedResource = DistributedResource;
|
||||
@@ -15,8 +17,9 @@ if (window) {
|
||||
window.IndexedDBStore = IndexedDBStore;
|
||||
window.IResource = IResource;
|
||||
window.ResourceProxy = ResourceProxy;
|
||||
window.DistributedConnection = DistributedConnection;
|
||||
}
|
||||
else if (global)
|
||||
else if (typeof global !== 'undefined')
|
||||
{
|
||||
global.wh = wh;
|
||||
global.Structure = Structure;
|
||||
@@ -24,6 +27,7 @@ else if (global)
|
||||
global.MemoryStore = MemoryStore;
|
||||
global.IndexedDBStore = IndexedDBStore;
|
||||
global.IResource = IResource;
|
||||
global.DistributedConnection = DistributedConnection;
|
||||
}
|
||||
|
||||
export default wh;
|
||||
Reference in New Issue
Block a user