Skip to content

Commit

Permalink
fix vuejs#247 native filters improperly being flagged as computed
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan You committed Apr 25, 2014
1 parent 81ae36c commit 489ded4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ function extend (options) {
}

// inherit options
options = inheritOptions(options, ParentVM.options, true)
// but only when the super class is not the native Vue.
if (ParentVM !== ViewModel) {
options = inheritOptions(options, ParentVM.options, true)
}
utils.processOptions(options)

var ExtendedVM = function (opts, asParent) {
Expand Down

0 comments on commit 489ded4

Please sign in to comment.