diff --git a/lib/legacy/class.html b/lib/legacy/class.html
index 41f4204bc7..e05dd716d4 100644
--- a/lib/legacy/class.html
+++ b/lib/legacy/class.html
@@ -24,20 +24,20 @@
attributeChanged: true,
};
- const noCopyProps = Object.assign({
+ const excludeProps = Object.assign({
behaviors: true
}, metaProps);
- const filteredProps = Object.assign({
+ const lifecycleProps = Object.assign({
listeners: true,
hostAttributes: true
}, metaProps);
function copyProperties(source, target) {
for (let p in source) {
- // NOTE: cannot copy `noCopyProps` methods onto prototype at least because
+ // NOTE: cannot copy `excludeProps` methods onto prototype at least because
// `super.ready` must be called and is not included in the user fn.
- if (!(p in noCopyProps)) {
+ if (!(p in excludeProps)) {
let pd = Object.getOwnPropertyDescriptor(source, p);
if (pd) {
Object.defineProperty(target, p, pd);
@@ -95,18 +95,18 @@
// If lifecycle is called (super then me), order is
// (1) C.created, (2) A.created, (3) B.created, (4) element.created
// (again same as 1.x)
- function copyAndFilterBehaviors(proto, behaviors, lifecycle) {
+ function applyBehaviors(proto, behaviors, lifecycle) {
for (let i=0; i