Skip to content

Commit

Permalink
Merge pull request #517 from ably/update-closure-compiler-and-fix-com…
Browse files Browse the repository at this point in the history
…pilation-issue

Update closure compiler and fix compilation issue
  • Loading branch information
funkyboy authored Jun 18, 2018
2 parents 8b53d69 + 3517403 commit 264904b
Show file tree
Hide file tree
Showing 3 changed files with 542 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common/lib/types/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var Message = (function() {
if(this.extras)
result += '; extras =' + JSON.stringify(this.extras);
if(this.data) {
if (typeof(data) == 'string')
if (typeof(this.data) == 'string')
result += '; data=' + this.data;
else if (BufferUtils.isBuffer(this.data))
result += '; data (buffer)=' + BufferUtils.base64Encode(this.data);
Expand Down
Loading

0 comments on commit 264904b

Please sign in to comment.