mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 880643 - Part 2: Address the suggestion from jshint. r=hsinyi
--- dom/system/gonk/RILContentHelper.js | 6 +++--- dom/system/gonk/RadioInterfaceLayer.js | 2 +- dom/system/gonk/ril_worker.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
This commit is contained in:
parent
cc35f65185
commit
75fe33645c
@ -360,7 +360,7 @@ function DOMMMIResult(result) {
|
||||
this.serviceCode = result.serviceCode;
|
||||
this.statusMessage = result.statusMessage;
|
||||
this.additionalInformation = result.additionalInformation;
|
||||
};
|
||||
}
|
||||
DOMMMIResult.prototype = {
|
||||
__exposedProps__: {serviceCode: 'r',
|
||||
statusMessage: 'r',
|
||||
@ -370,14 +370,14 @@ DOMMMIResult.prototype = {
|
||||
function DOMCLIRStatus(option) {
|
||||
this.n = option.n;
|
||||
this.m = option.m;
|
||||
};
|
||||
}
|
||||
DOMCLIRStatus.prototype = {
|
||||
__exposedProps__ : {n: 'r',
|
||||
m: 'r'}
|
||||
};
|
||||
|
||||
function DOMMMIError() {
|
||||
};
|
||||
}
|
||||
DOMMMIError.prototype = {
|
||||
classDescription: "DOMMMIError",
|
||||
classID: DOMMMIERROR_CID,
|
||||
|
@ -37,7 +37,7 @@ DEBUG = RIL.DEBUG_RIL || debugPref;
|
||||
|
||||
function debug(s) {
|
||||
dump("-*- RadioInterfaceLayer: " + s + "\n");
|
||||
};
|
||||
}
|
||||
|
||||
const RADIOINTERFACELAYER_CID =
|
||||
Components.ID("{2d831c8d-6017-435b-a80c-e5d422810cea}");
|
||||
|
@ -3306,7 +3306,7 @@ let RIL = {
|
||||
mmiServiceCode === MMI_KS_SC_PUK2) {
|
||||
options.errorMsg = MMI_ERROR_KS_BAD_PUK;
|
||||
}
|
||||
if (options.retryCount != undefined) {
|
||||
if (options.retryCount !== undefined) {
|
||||
options.additionalInformation = options.retryCount;
|
||||
}
|
||||
}
|
||||
@ -5346,7 +5346,7 @@ RIL[REQUEST_QUERY_FACILITY_LOCK] = function REQUEST_QUERY_FACILITY_LOCK(length,
|
||||
for (let serviceClassMask = 1;
|
||||
serviceClassMask <= ICC_SERVICE_CLASS_MAX;
|
||||
serviceClassMask <<= 1) {
|
||||
if ((serviceClassMask & services) != 0) {
|
||||
if ((serviceClassMask & services) !== 0) {
|
||||
serviceClass.push(MMI_KS_SERVICE_CLASS_MAPPING[serviceClassMask]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user