mirror of https://github.com/status-im/web3.js.git
add bundle version
This commit is contained in:
parent
135b0440e2
commit
677bb68633
|
@ -2335,7 +2335,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
|
||||
|
@ -2367,6 +2367,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);
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2335,7 +2335,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
|
||||
|
@ -2367,6 +2367,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);
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue