Skip to content

Commit

Permalink
code cleansing
Browse files Browse the repository at this point in the history
  • Loading branch information
chughts committed May 21, 2017
1 parent 490d576 commit 9de4250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/tone-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ToneUtils.prototype = {
// Function that checks the payload and determines
// whether it is JSON or a Buffer
checkPayload: function(payload) {
var message = null;
var message = null,
isJSON = this.isJsonString(payload) || this.isJsonObject(payload);

// Payload (text to be analysed) must be a string (content is either raw string or Buffer)
Expand Down

0 comments on commit 9de4250

Please sign in to comment.