зеркало из https://github.com/mozilla/pluotsorbet.git
Fix indentation throughout midp/background.js
This commit is contained in:
Родитель
d75d16d51b
Коммит
e337286708
|
@ -32,10 +32,10 @@ Native["com/nokia/mid/s40/bg/BGUtils.getFGMIDletNumber.()I"] = function() {
|
|||
MIDP.additionalProperties = {};
|
||||
|
||||
Native["com/nokia/mid/s40/bg/BGUtils.addSystemProperties.(Ljava/lang/String;)V"] = function(args) {
|
||||
util.fromJavaString(args).split(";").splice(1).forEach(function(arg) {
|
||||
var elems = arg.split("=");
|
||||
MIDP.additionalProperties[elems[0]] = elems[1];
|
||||
});
|
||||
util.fromJavaString(args).split(";").splice(1).forEach(function(arg) {
|
||||
var elems = arg.split("=");
|
||||
MIDP.additionalProperties[elems[0]] = elems[1];
|
||||
});
|
||||
};
|
||||
|
||||
var localmsgServerCreated = false;
|
||||
|
@ -45,8 +45,8 @@ Native["com/nokia/mid/s40/bg/BGUtils.waitUserInteraction.()V"] = function() {
|
|||
asyncImpl("V", new Promise(function(resolve, reject) {
|
||||
// If the page is visible, just start the FG MIDlet
|
||||
if (!document.hidden) {
|
||||
resolve();
|
||||
return;
|
||||
resolve();
|
||||
return;
|
||||
}
|
||||
|
||||
// Otherwise, wait until the page becomes visible, then start the FG MIDlet
|
||||
|
|
Загрузка…
Ссылка в новой задаче