Skip to content

Commit 4eda3cf

Browse files
committed
fix typo
1 parent abb30ee commit 4eda3cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/directives/repeat.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.exports = {
102102
// check inline-template
103103
if (this._checkParam('inline-template') !== null) {
104104
// extract inline template as a DocumentFragment
105-
this.inlineTempalte = _.extractContent(this.el, true)
105+
this.inlineTemplate = _.extractContent(this.el, true)
106106
}
107107
var tokens = textParser.parse(id)
108108
if (tokens) {
@@ -350,15 +350,15 @@ module.exports = {
350350
el: templateParser.clone(this.template),
351351
data: data,
352352
inherit: this.inherit,
353-
template: this.inlineTempalte,
353+
template: this.inlineTemplate,
354354
// repeater meta, e.g. $index, $key
355355
_meta: meta,
356356
// mark this as an inline-repeat instance
357357
_repeat: this.inherit,
358358
// is this a component?
359359
_asComponent: this.asComponent,
360360
// linker cachable if no inline-template
361-
_linkerCachable: !this.inlineTempalte,
361+
_linkerCachable: !this.inlineTemplate,
362362
// transclusion host
363363
_host: this._host,
364364
// pre-compiled linker for simple repeats

0 commit comments

Comments
 (0)