Don't need the classname
This commit is contained in:
parent
0154a7e97b
commit
8bda3e9b4d
|
@ -67,7 +67,7 @@ class Reflection {
|
|||
}
|
||||
|
||||
export default function (node) {
|
||||
return new class Reflect {
|
||||
return new class {
|
||||
constructor(node) {
|
||||
if ('string' === typeof node) node = document.querySelector(node);
|
||||
this.node = this.el = this.element = node;
|
||||
|
|
Loading…
Reference in New Issue