Skip to content

Commit

Permalink
joinSourceArray中遗漏null/undefined特殊处理
Browse files Browse the repository at this point in the history
  • Loading branch information
army8735 committed Aug 28, 2018
1 parent 6aab2d9 commit 9c223c1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function _joinSourceArray(arr) {
if (Array.isArray(item)) {
res += _joinSourceArray(item);
} else {
res += item.toString();
res += stringify(item);
}
}
return res;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "migi",
"version": "7.0.1",
"version": "7.0.2",
"description": "A JavaScript MVVM on JSX",
"maintainers": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function joinSourceArray(arr) {
res += joinSourceArray(item);
}
else {
res += item.toString();
res += stringify(item);
}
}
return res;
Expand Down
2 changes: 1 addition & 1 deletion web/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function _joinSourceArray(arr) {
if (Array.isArray(item)) {
res += _joinSourceArray(item);
} else {
res += item.toString();
res += stringify(item);
}
}
return res;
Expand Down

0 comments on commit 9c223c1

Please sign in to comment.