1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-20 00:34:50 +00:00

Refactoring name of macro refresh method

This commit is contained in:
Jeremy Ruston 2012-02-22 23:27:21 +00:00
parent 106380b98a
commit 6902ee19de
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ exports.macro = {
content.execute(this.parents,this.store.getTiddler(this.tiddlerText)); content.execute(this.parents,this.store.getTiddler(this.tiddlerText));
return [content]; return [content];
}, },
refresh: function(changes) { refreshInDom: function(changes) {
if(this.params.target && changes.hasOwnProperty(this.params.target)) { if(this.params.target && changes.hasOwnProperty(this.params.target)) {
// If the target has changed, re-render the macro // If the target has changed, re-render the macro
} else { } else {

View File

@ -56,7 +56,7 @@ exports.macro = {
} }
return content; return content;
}, },
refresh: function(changes) { refreshInDom: function(changes) {
/*jslint browser: true */ /*jslint browser: true */
// Get the tiddlers we're supposed to be displaying // Get the tiddlers we're supposed to be displaying
var self = this, var self = this,