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-07-11 01:54:50 +03:00
parent c6c04b0212
commit 8cc5bd3777
9 changed files with 509 additions and 117 deletions

View File

@ -18,11 +18,16 @@
con.get("db/my").then(function(rt){
console.log("Object received.");
demo = rt;
rt.on("LevelUp", function(v){
console.log("LevelUp", v);
rt.on("LevelUp", function(a, b, c){
console.log("LevelUp", a, b, c);
});
rt.Add(3);
rt.Divide({nominator: 10, denominator: 50}).then(x=>{
console.log(x);
});
});
}).on("error", function(sender, code, msg){
console.log(sender, code, msg);