Skip to content

Commit

Permalink
transpile source code
Browse files Browse the repository at this point in the history
  • Loading branch information
gil0mendes committed Sep 17, 2016
1 parent abe0236 commit 4d2856b
Show file tree
Hide file tree
Showing 86 changed files with 347 additions and 298 deletions.
9 changes: 5 additions & 4 deletions dist/client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

/*global Primus XMLHttpRequest*/

/**
* Interface for WebSocket client interact with the server.
*
Expand Down Expand Up @@ -56,7 +58,7 @@ StellarClient.prototype.connect = function (callback) {
self.client = Primus.connect(self.options.url, self.options);
}

/// define client event handlers
// --- define client event handlers

// open
self.client.on('open', function () {
Expand Down Expand Up @@ -140,7 +142,7 @@ StellarClient.prototype.send = function (args, callback) {
var self = this;
self.messageCount++;

if (typeof callback == 'function') {
if (typeof callback === 'function') {
self.callbacks[self.messageCount] = callback;
}

Expand Down Expand Up @@ -396,5 +398,4 @@ StellarClient.prototype.disconnect = function () {
self.emit('disconnected');
};

exports.StellarClient = StellarClient;
//# sourceMappingURL=client.js.map
exports.StellarClient = StellarClient;
1 change: 0 additions & 1 deletion dist/client.js.map

This file was deleted.

3 changes: 1 addition & 2 deletions dist/config/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,4 @@ var production = exports.production = {
developmentMode: false
};
}
};
//# sourceMappingURL=api.js.map
};
1 change: 0 additions & 1 deletion dist/config/api.js.map

This file was deleted.

3 changes: 1 addition & 2 deletions dist/config/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,4 @@ exports.default = {
}
};
}
};
//# sourceMappingURL=errors.js.map
};
Loading

0 comments on commit 4d2856b

Please sign in to comment.