File size: 519 Bytes
597ee18 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | define(['galaxy'], function($galaxy) {
$galaxy.network.subscribe('viewChange', function (payload) {
});
starbase.showWelcome = function() {
$galaxy.warp().to('home').engage();
};
starbase.showLocations = function() {
$galaxy.warp().to('locations').engage();
};
starbase.showProducts = function() {
$galaxy.warp().to('products').engage();
};
starbase.showUsers = function() {
$galaxy.warp().to('users').engage();
};
return starbase;
}
);
|