examples/HTML StarterKit/lib/durandal/js/app.js
function() {
            system.log('Application:Starting');

            if (this.title) {
                document.title = this.title;
            }

            return system.defer(function (dfd) {
                $(function() {
                    loadPlugins().then(function(){
                        dfd.resolve();
                        system.log('Application:Started');
                    });
                });
            }).promise();
        }
function() {
            system.log('Application:Starting');

            if (this.title) {
                document.title = this.title;
            }

            return system.defer(function (dfd) {
                $(function() {
                    loadPlugins().then(function(){
                        dfd.resolve();
                        system.log('Application:Started');
                    });
                });
            }).promise();
        }
function ( ) { system . log ( 'Application:Starting' ) ; if ( this . title ) { document . title = this . title ; } return system . defer ( function ( dfd ) { $ ( function ( ) { loadPlugins ( ) . then ( function ( ) { dfd . resolve ( ) ; system . log ( 'Application:Started' ) ; } ) ; } ) ; } ) . promise ( ) ; }
Starts the application.
@method start
@return {promise}
Starts the application .