kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Refactoring name of macro refresh method
rodzic
106380b98a
commit
6902ee19de
|
@ -58,7 +58,7 @@ exports.macro = {
|
|||
content.execute(this.parents,this.store.getTiddler(this.tiddlerText));
|
||||
return [content];
|
||||
},
|
||||
refresh: function(changes) {
|
||||
refreshInDom: function(changes) {
|
||||
if(this.params.target && changes.hasOwnProperty(this.params.target)) {
|
||||
// If the target has changed, re-render the macro
|
||||
} else {
|
||||
|
|
|
@ -56,7 +56,7 @@ exports.macro = {
|
|||
}
|
||||
return content;
|
||||
},
|
||||
refresh: function(changes) {
|
||||
refreshInDom: function(changes) {
|
||||
/*jslint browser: true */
|
||||
// Get the tiddlers we're supposed to be displaying
|
||||
var self = this,
|
||||
|
|
Ładowanie…
Reference in New Issue