2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-05-06 12:32:58 +00:00
esiur-js/test/test.js
2019-07-15 22:01:38 +03:00

18 lines
331 B
JavaScript

var demo;
import IStore from '../src/Resource/IStore.js';
import wh from '../src/esiur.js';
class MyStore extends IStore
{
}
wh.get("iip://localhost:5001/db/my", {username: "demo", password: "1234"})
.then(x=>{
console.log("connected", x);
window.x = x;
}).catch(x=>{
console.log("error", x);
});