2
0
mirror of https://github.com/esiur/esiur-js.git synced 2026-04-04 14:08:20 +00:00

Esiur 1.2.3

This commit is contained in:
2019-07-15 22:01:38 +03:00
parent fdfa690b23
commit d27cf47014
37 changed files with 240 additions and 16051 deletions

View File

@@ -116,19 +116,13 @@ export class WH extends IEventHandler
{
var store = this.new(handler, url[0] + "://" + hostname);
store.open(settings).then(x=>{
if (success)
{
if (pathname.length > 0 && pathname[1] != "")
store.get(pathname[1]).then(r=>{
rt.trigger(r);
}).error(e => rt.triggerError(e));
else
rt.trigger(store);
}
if (pathname.length > 0 && pathname[1] != "")
store.get(pathname).then(r=>{
rt.trigger(r);
}).error(e => rt.triggerError(e));
else
{
self.remove(store);
}
rt.trigger(store);
}).error(e => {
rt.triggerError(e);
self.remove(store);