Skip to content

Commit

Permalink
omi - add the return value of the render method.
Browse files Browse the repository at this point in the history
  • Loading branch information
dntzhang committed Nov 13, 2018
1 parent 84a4b7a commit cf50c76
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions packages/omi/dist/omi.dev.js

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

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.dev.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/omi/dist/omi.esm.js

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

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/omi/dist/omi.js

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

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/omi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "omi",
"version": "4.0.28",
"version": "4.0.29",
"description": "Next generation web framework.",
"main": "dist/omi.js",
"jsnext:main": "dist/omi.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/omi/src/omi.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const omi = {
}

options.root.Omi = omi
options.root.Omi.version = '4.0.28'
options.root.Omi.version = '4.0.29'

export default omi

Expand Down
2 changes: 1 addition & 1 deletion packages/omi/src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function render(vnode, parent, store) {
})
parent.store = store
}
diff(null, vnode, {}, false, parent, false)
return diff(null, vnode, {}, false, parent, false)
}

function update(patch, store) {
Expand Down

0 comments on commit cf50c76

Please sign in to comment.