converted some tabs to spaces

Cette révision appartient à :
tigerbot 2017-07-10 12:04:45 -06:00
Parent 2b4abdb142
révision 86b304a209
3 fichiers modifiés avec 215 ajouts et 215 suppressions

Voir le fichier

@ -528,24 +528,24 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) {
function daplieTel() {
return twilioTel().then(function (twilio) {
function sms(opts) {
// opts = { to, from, body }
return new apiDeps.Promise(function (resolve, reject) {
twilio.sendSms(opts, function (err, resp) {
if (err) {
reject(err);
return;
}
function sms(opts) {
// opts = { to, from, body }
return new apiDeps.Promise(function (resolve, reject) {
twilio.sendSms(opts, function (err, resp) {
if (err) {
reject(err);
return;
}
resolve(resp);
});
});
}
resolve(resp);
});
});
}
return {
sms: sms
, mms: function () { throw new Error('MMS Not Implemented'); }
};
return {
sms: sms
, mms: function () { throw new Error('MMS Not Implemented'); }
};
});
}

Diff de fichier supprimé car une ou plusieurs lignes sont trop longues

Voir le fichier

@ -164,7 +164,7 @@ module.exports.create = function (webserver, xconfx, state) {
// Printing all incoming requests for debugging
console.log('[worker/log]', req.method, hostname, req.url);
// logging all the invalid hostnames that come here out of curiousity
// logging all the invalid hostnames that come here out of curiousity
if (hostname && !hostsmap[hostname]) {
hostsmap[hostname] = true;
require('fs').writeFile(