Skip to content

Commit 2179f28

Browse files
Symbols should not be lazy anymore
1 parent 0cec3ee commit 2179f28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/mavo.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,9 +971,8 @@ let _ = self.Mavo = $.Class(class Mavo {
971971
});
972972

973973
// Define symbols
974-
// TODO: These should not be lazy anymore?
975974
["toNode", "isProxy", "route", "parent", "property", "mavo", "groupedBy", "as"].forEach(symbol => {
976-
$.lazy(_, symbol, () => Symbol(symbol));
975+
_[symbol] = Symbol(symbol);
977976
});
978977

979978
Object.defineProperty(_.all, "length", {

0 commit comments

Comments
 (0)