> config.macros.TableEditor.toggleEditMode : function ( btn ) { ...
The ":" syntax is used in the wider context of defining the methods of
an object:
---------------------
config.macros.TableEditor = {
...
toggleEditMode: function(btn) {
...
},
...
};
---------------------
However, when hijacking the macro objects method, you need to override
just the one function declaration, separate from the rest of the
object that is defined by TableEditorPlugin
Something like this:
---------------------
config.macros.TableEditor.toggleEditMode = function(btn) {
...
};
---------------------
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
PLEASE MAKE A DONATION:
http://www.TiddlyTools.com/#Donations
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.