Merge pull request #2369 from ddprrt/extend-warnings

making sure :extend warning does not bubble up, fixes #1618
This commit is contained in:
Luke Page
2015-01-11 11:44:52 +00:00

View File

@@ -105,7 +105,7 @@ ProcessExtendsVisitor.prototype = {
},
checkExtendsForNonMatched: function(extendList) {
extendList.filter(function(extend) {
return !extend.hasFoundMatches;
return !extend.hasFoundMatches && extend.parent_ids.length == 1;
}).forEach(function(extend) {
var selector = "_unknown_";
try {