Looking at your code I would push the *hackery* as far away as possible. Here is a stab at how I would approach the same problem https://gist.github.com/71a1e6b22104ede5f6e7 (Google Groups just had a tantrum attempting to copy/paste the code here. Use the link above. (╯°□°)╯︵ ┻━┻ ).
On Tuesday, January 12, 2016 at 3:25:14 PM UTC-5, Tobias Beer wrote: > > In a way, yes, it is polymorphism... only just that through hijacking I > put my code ahead of the core and decide when to let the core take over. > Have a look at what I'm doing to *Popup *in tobibeer/appear > <https://github.com/tobibeer/tw5-appear/blob/master/src/appear.js>. > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/bea5e1f8-dd22-44ff-8543-57243c551e4c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
