Action bubble

11

Transcript of Action bubble

router.map( function ( match ) {match(’/’).to(’application’, function ( match ) {

match(’/home’).to(’home’);match(’/profile’).to(’profile’, function(match) {

match(’/edit’).to(’editProfile’);});

});});

router.jsMicro Lib Used By Ember

App.Router.map(function() { this.resource('home'); this.resource('profile', function () { this.route('edit'); });});

Ember.js