chore: remove dead meta.getContext
This commit is contained in:
parent
5e4fde6642
commit
c1f18949e5
|
@ -16,7 +16,6 @@ export function PropertyMixin(key, meta = {}) {
|
||||||
throw new TypeError(`can't redefine Avocado property "${key}"`);
|
throw new TypeError(`can't redefine Avocado property "${key}"`);
|
||||||
}
|
}
|
||||||
|
|
||||||
meta.getContext = meta.getContext || function() { return this; };
|
|
||||||
if ('identity' === meta.transformProperty) {
|
if ('identity' === meta.transformProperty) {
|
||||||
meta.transformProperty = (key) => key;
|
meta.transformProperty = (key) => key;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user