Skip to content

Commit

Permalink
Merge branch 'develop' into abi_refactor
Browse files Browse the repository at this point in the history
Conflicts:
	dist/web3-light.js.map
	dist/web3-light.min.js
	dist/web3.js.map
	dist/web3.min.js
  • Loading branch information
debris committed Apr 20, 2015
2 parents 779a608 + 677bb68 commit a46b9ea
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 11 deletions.
5 changes: 4 additions & 1 deletion dist/web3-light.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/web3-light.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web3-light.min.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion dist/web3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/web3.js.map

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions dist/web3.min.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion lib/web3/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ var inputPostFormatter = function(post) {

// fallback
if (!utils.isArray(post.topics)) {
post.topics = [post.topics];
post.topics = post.topics ? [post.topics] : [];
}

// format the following options
Expand Down Expand Up @@ -192,6 +192,9 @@ var outputPostFormatter = function(post){
}

// format the following options
if (!post.topics) {
post.topics = [];
}
post.topics = post.topics.map(function(topic){
return utils.toAscii(topic);
});
Expand Down

0 comments on commit a46b9ea

Please sign in to comment.