You can also remove the edit templates. When you want to edit something, edit it in a different TW5, then drag and drop it to your show-piece.
The problem is that it is big 4mb. I want to make it work faster.If somebody have compressed variant of tw5 core without comments in code or any ideas?
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6d7435d9-137e-42c1-a819-99a580b26079%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
var defaultFilter = "[!is[system]sort[title]]";
if (this.getAttribute("filter",defaultFilter)=="[list[$:/StoryList]]") return ListWidget.prototype.bjgetTiddlerList.call(this);
if (!this.bjcached) {
this.bjcache = this.wiki.filterTiddlers(this.getAttribute("filter",defaultFilter),this);
this.bjcached = true;
}
I have hacked together a plugin to speed things up. It will probably cause strange errors in you application, but maybe you can modify it to work better. In any case It will show how much things could be improved
all the best bj
On Sunday, November 12, 2017 at 4:03:30 PM UTC+1, sini-Kit wrote:
Hi! I start creating new Tiddlywiki shop http://www.google.com/url?q=http%3A%2F%2F2980258.ru%2Fheeg.html&sa=D&sntz=1&usg=AFQjCNEVrKH1LD7mgIfI5QyFi0wrOgnEpw
this.wiki.filterTiddlers(). Every time a tiddler is modified all the filters are recreated, and it is because of this that you shop is slow. So this plugin stops the lists (apart from the storylist) from updating. /*
Update the document body with the class "tc-dirty" if the wiki has unsaved/unsynced changes
*/
SaverHandler.prototype.updateDirtyStatus = function() {
if($tw.browser) {
$tw.utils.toggleClass(document.body,"tc-dirty",this.isDirty());
}
};