Fix indentation throughout midp/background.js

This commit is contained in:
Marco Castelluccio 2015-02-01 02:09:03 +01:00
Родитель d75d16d51b
Коммит e337286708
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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