Skip to content

Commit 07054a0

Browse files
committed
fix typo in render function code example
1 parent bd5eeda commit 07054a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/render-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ var UnorderedList = { /* ... */ }
338338
Vue.component('smart-list', {
339339
functional: true,
340340
render: function (createElement, context) {
341-
function appropriateListComponent {
341+
function appropriateListComponent () {
342342
var items = context.props.items
343343

344344
if (items.length === 0) return EmptyList

0 commit comments

Comments
 (0)