Skip to content

Commit 67f547e

Browse files
authored
Merge pull request #101 from vuejs/master
Fix code in render-function.md (#486)
2 parents ec8d588 + 41fd518 commit 67f547e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/guide/render-function.md

-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ If you really want to duplicate the same element/component many times, you can d
244244

245245
``` js
246246
render: function (createElement) {
247-
var myParagraph =
248247
return createElement('div',
249248
Array.apply(null, { length: 20 }).map(function () {
250249
return createElement('p', 'hi')

0 commit comments

Comments
 (0)