{"push_id":827362161,"size":2,"distinct_size":1,"ref":"refs/heads/master","head":"479d5e8c62bfb2338c0c42a2c7fa8a8474bc3ee3","before":"18e1f2150f8c2fcc4141d4f6d3caccc0b7b8460f","commits":[{"sha":"3a373e9b3b42352a2f74a0288481e0188dfd890b","author":{"email":"cc63d17c4e711a0d3f0b663bc406f63f929f2a42@users.noreply.github.com","name":"drmrd"},"message":"Corrected two show-stopping (and boneheaded) errors in the previous refactoring, which lead to init.js creating empty script elements. Also now included a console call before creating each script. These will probably be removed before the next version.","distinct":false,"url":"https://api.github.com/repos/drmrd/tiddlymath/commits/3a373e9b3b42352a2f74a0288481e0188dfd890b"},{"sha":"479d5e8c62bfb2338c0c42a2c7fa8a8474bc3ee3","author":{"email":"cc63d17c4e711a0d3f0b663bc406f63f929f2a42@users.noreply.github.com","name":"drmrd"},"message":"Significant modifications to the MutationObserver monitoring tiddler changes, which should provide improved performance while also avoiding issues like bug #1 (re. the duplication of draft titles with each MathJax typesetting call).\n\nAt present, there are two major bugs with this new version of the script that prevent it from functioning. First and foremost, the new, pared down MutationObserver, riverObserver, is not reacting to edits as anticipated. This is almost certainly due to the fact that it is now only observing characterData mutations (although I'm still familiarizing myself with these new-fangled MutationObservers, and it's unclear to me why a change to the value of a textarea wouldn't constitute a characterData mutation in the river's subtree), but the new callback function will require some massaging to deal with other types of mutations.\n\nThe other issue is one of scope, where it seems the callback function doesn't see the getAncestorTiddler and tiddlerIsADraft functions defined above in the file. This doesn't seem in the spirit of lexicographic scoping to me, so I'm assuming there's an easy fix here.\n\nThis commit should in no way shape or form be considered a patch for the bugs in this branch; I'm mostly committing progress before a potential rewrite of the (currently non-functional) mutation observer and its callback.","distinct":true,"url":"https://api.github.com/repos/drmrd/tiddlymath/commits/479d5e8c62bfb2338c0c42a2c7fa8a8474bc3ee3"}]}