1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-05 16:28:05 +00:00

Refactored wiki event mechanism to support multiple event types

This commit is contained in:
Jeremy Ruston
2013-03-16 10:42:46 +00:00
parent 623a3ec8f8
commit c3b57507b0
5 changed files with 33 additions and 26 deletions

View File

@@ -123,7 +123,7 @@ exports.startup = function() {
var container = document.createElement("div");
document.body.insertBefore(container,document.body.firstChild);
renderTree.renderInDom(container);
$tw.wiki.addEventListener("",function(changes) {
$tw.wiki.addEventListener("change",function(changes) {
renderTree.refreshInDom(changes);
});
} else {