style(jshint): jshint compatibility ensured
This commit is contained in:
parent
63a9b67614
commit
86f4e072b0
1 changed files with 1 additions and 6 deletions
|
|
@ -169,7 +169,7 @@ exports.trade = function trade(rawTrade, deviceFingerprint) {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.fiatBalance = function fiatBalance(deviceFingerprint) {
|
exports.fiatBalance = function fiatBalance() {
|
||||||
var rawRate = exports.getDeviceRate().rates.ask;
|
var rawRate = exports.getDeviceRate().rates.ask;
|
||||||
var commission = cachedConfig.exchanges.settings.commission;
|
var commission = cachedConfig.exchanges.settings.commission;
|
||||||
|
|
||||||
|
|
@ -268,11 +268,6 @@ exports.startPolling = function startPolling() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
function stopPolling() {
|
|
||||||
clearInterval(balanceInterval);
|
|
||||||
clearInterval(rateInterval);
|
|
||||||
// clearInterval(tradeInterval); // TODO: should this get cleared too?
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function pollBalance(callback) {
|
function pollBalance(callback) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue