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:
Szu-Yu Chen [:aknow] 2013-07-31 16:03:57 +08:00
parent 780d938594
commit dc6bdde547
3 changed files with 6 additions and 6 deletions

View File

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

View File

@ -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}");

View File

@ -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]);
}
}