Sha256: c384f2772cc15db3675204ae18d63ef35df069d4792215487ccedc672bb87e8a
Contents?: true
Size: 530 Bytes
Versions: 3
Compression:
Stored size: 530 Bytes
Contents
import jQuery.*; class <%= @haxe_class_name %> extends Havior { public static function main(){ Havior.start("<%= @file_path %>"); } public override function onLoad(){ <% @actions.each do |name,method| %> // <%= route = "#{name}@#{method}" %> addCallback("<%= route %>", function(data){ /// TODO this.getDOM().html("<%= route%>:" + data.message); }); <% end %> <% @actions.each do |name,method| %> // sendAsync("<%= "#{name}@#{method}" %>", {} ); <% end %> } }
Version data entries
3 entries across 3 versions & 1 rubygems