test/dummy/app/haviors/misc/todo/haxe/Todo.hx in havior-0.1.0 vs test/dummy/app/haviors/misc/todo/haxe/Todo.hx in havior-0.1.1
- old
+ new
@@ -6,35 +6,19 @@
}
public override function onLoad(){
- // list@get
- addCallback("list@get", function(data){
+ // ggg@get
+ addCallback("ggg@get", function(data){
/// TODO
- this.getDOM().html("list@get:" + data.message);
+ this.getDOM().html("ggg@get:" + data.message);
});
- // add@post
- addCallback("add@post", function(data){
- /// TODO
- this.getDOM().html("add@post:" + data.message);
- });
-
- // del@get
- addCallback("del@get", function(data){
- /// TODO
- this.getDOM().html("del@get:" + data.message);
- });
-
- sendAsync("list@get", {} );
-
- // sendAsync("add@post", {} );
-
- // sendAsync("del@get", {} );
+ // sendAsync("ggg@get", {} );
}
}