Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
24
gaia/apps/callscreen/js/index.js
Executable file
24
gaia/apps/callscreen/js/index.js
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
'use strict';
|
||||
/* globals CallsHandler, CallScreen,
|
||||
KeypadManager */
|
||||
|
||||
/**
|
||||
* Function invoked at onload time to initialize the application.
|
||||
*/
|
||||
function onLoadCallScreen(evt) {
|
||||
window.removeEventListener('load', onLoadCallScreen);
|
||||
|
||||
CallsHandler.setup();
|
||||
CallScreen.init();
|
||||
KeypadManager.init(/* oncall */ true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Dummy function introduced in bug 1083729, see below.
|
||||
*/
|
||||
function unloadCallScreen(evt) { }
|
||||
|
||||
window.addEventListener('load', onLoadCallScreen);
|
||||
|
||||
// Bug 1083729: add an empty unload event listener to circumvent bug 1078448.
|
||||
window.addEventListener('unload', unloadCallScreen);
|
||||
Loading…
Reference in a new issue