From 489ded41b39a96d517f70525940a313b1bbd6dca Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 25 Apr 2014 13:20:06 -0400 Subject: [PATCH] fix #247 native filters improperly being flagged as computed --- src/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 64f542c29d1..449a3bc3b1a 100644 --- a/src/main.js +++ b/src/main.js @@ -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) {