> This is in fact a syntax error. The curly bracketed syntax for
> defining an object/hash list has the limitation that you can only put
> member names before the each colon, not object references.

Okay.  Thinks I might invest in a Javascript text.


<snip>
> config.macros.myMacro = {
>         handler: function(place, macroName) {/* ... */},
>         School: createPrototypedFunction(
>                 function(){
>                                 /* This will become the constructor */
>                 },
>                 {
>                         method1: function(){/*..*/},
>                         method2: function(){/*..*/},
>                 }

Thanks, I will have a play/investigate with the above suggestion just
so understand it better.  A follow up question,  is it  "cleaner" or
"better"  this way as opposed to using object references as in my
original example (or should this be take to a Javascrpt forum)?

Michael.
--
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to TiddlyWikiDev@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to