Sha256: 51c4bbb0d65a37599f48fb141c6f45e77fc39307b3e7dc997573c84cb319f1d6
Contents?: true
Size: 861 Bytes
Versions: 1
Compression:
Stored size: 861 Bytes
Contents
package <%= base_package%>.modules.<%= module_folder%>.controller { import org.puremvc.as3.multicore.interfaces.INotification; import org.puremvc.as3.multicore.utilities.fabrication.patterns.command.SimpleFabricationCommand; import <%= base_package%>.common.<%= name%>Constants; import <%= base_package%>.modules.<%= module_folder%>.model.<%= module_name%>Proxy; import <%= module_name%>Module; import <%= base_package%>.modules.<%= module_folder%>.view.<%= module_name%>ModuleMediator; public class <%= module_name%>ModuleStartupCommand extends SimpleFabricationCommand { override public function execute(note:INotification):void { trace("starting <%= module_folder%> module") registerProxy(new <%= module_name%>Proxy()); registerMediator(new <%= module_name%>ModuleMediator(note.getBody() as <%= module_name%>Module)); } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fabricator-0.0.5 | generators/pure_module/templates/module/controller/module_startup_command.as |