Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
23 lines
402 B
JavaScript
Executable file
23 lines
402 B
JavaScript
Executable file
'use strict';
|
|
|
|
/* exported MockNavigation */
|
|
|
|
var MockNavigation = {
|
|
_currentView: null,
|
|
get currentView() {
|
|
return this._currentView;
|
|
},
|
|
show: function(destination) {
|
|
this._currentView = destination;
|
|
},
|
|
showKeypad: function() {
|
|
this.show('keypad');
|
|
},
|
|
showCalllog: function() {
|
|
this.show('recents');
|
|
},
|
|
showContacts: function() {
|
|
this.show('contacts');
|
|
}
|
|
};
|
|
|