Skip to content

Commit

Permalink
save some memoery
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 25, 2015
1 parent cdf233f commit c3848c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ export function compileRoot (el, options, contextOptions) {
}
}

options._containerAttrs = options._replacerAttrs = null
return function rootLinkFn (vm, el, scope) {
// link context scope dirs
var context = vm._context
Expand Down

0 comments on commit c3848c8

Please sign in to comment.