Closed dubinsky closed 4 years ago
The point of the refactoring @raffazizzi did was to introduce better code isolation (so, e.g. behaviors wouldn't have the full set of CETEI methods available to them. It seems a bit sad to break that. But on the other hand, it does seem like the CETEI DOM ought to be available to behaviors. I'm about to release a patch that does just that. Thanks for bringing this to our attention!
This breaks behaviors that assume that their
this
isCETEI
; there is one like that indefaultBehavoirs
: endnotes.(This will auto-fix in
`/tutorial/js/CETEI.js
once results of thenpm
build are checked in - which seems to have not been happening for a while in/tutorial
...)