diff --git a/src/core/Base.js b/src/core/Base.js index 8aed4cbd..844dc280 100644 --- a/src/core/Base.js +++ b/src/core/Base.js @@ -68,8 +68,7 @@ Base.inject(/** @lends Base# */{ // inheritance trick in the argument reading code. var orig = props._filtering || props; for (var key in orig) { - if (key in this && orig.hasOwnProperty(key) - && !(exclude && exclude[key])) { + if (orig.hasOwnProperty(key) && !(exclude && exclude[key])) { var value = props[key]; // Due to the _filtered inheritance trick, undefined is used // to mask already consumed named arguments.