client/js/main.js
changeset 2 3360c3f7fb18
parent 1 45cca39b00ac
child 3 7722ec70c01b
equal deleted inserted replaced
1:45cca39b00ac 2:3360c3f7fb18
    80     this.serializer = new Rkns.Serializers[_opts.serializer](this);
    80     this.serializer = new Rkns.Serializers[_opts.serializer](this);
    81     this.renderer = new Rkns.Renderers[_opts.renderer](this);
    81     this.renderer = new Rkns.Renderers[_opts.renderer](this);
    82     var _this = this;
    82     var _this = this;
    83     this.serializer.onLoad(function() {
    83     this.serializer.onLoad(function() {
    84         _this.renderer.draw();
    84         _this.renderer.draw();
    85     })
    85     });
    86 }
    86 }
    87 
    87 
    88 /* Utility functions */
    88 /* Utility functions */
    89 
    89 
    90 Rkns.Utils = {
    90 Rkns.Utils = {