/* * Application module. It contains functions that can be used * to customize the application startup/shutdown steps. * */ // define a module called "application" library.common.define(module, "application", function() { /* This function is called on application startup. */ function onStartup() { // insert application startup code here //start jMaki /xhp service (xmlhttpproxy) library.jmaki.useProxy(); } /* This function is called on application shutdown. */ function onShutdown() { // insert application shutdown code here } // export the functions this.onStartup = onStartup; this.onShutdown = onShutdown; });
You need to create an account or log in to post comments to this site.