Merge pull request #37 from chester1000/jshint2

style(jshint): jshint compatibility ensured
This commit is contained in:
Josh Harvey 2014-08-22 20:49:41 -04:00
commit 0aa1e2f192

View file

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