1) Should I think of it as just "ok, there are some .js scripts and in
the end they are put together in one big script and there all the
definitions are present"?
Yes, that how it works. The cook tool puts together a list of .js
files according to a recipe. The .js files were originally created by
splitting TiddlyWiki. Code was grouped together logically, but there
were too many interdependencies in the original TiddlyWiki to have
self contained .js files.
I can't make a good suggestion for a jQuery intro. I can answer about
the odd looking constructions, such as:
$(function() {
// jquery goes here
});
These are because javascript is a function scoped, rather than a block
scoped language, so to constrain the scope of variables you need to
wrap them in a dummy function. In a block scoped language, you would
just wrap the variables in a block (ie {...} or BEGIN...END).
Martin
> --
> You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
> To post to this group, send email to tiddly...@googlegroups.com.
> To unsubscribe from this group, send email to tiddlywikide...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
>
>
http://oldwiki.tiddlywiki.org/wiki/Dev:Best_Practices#Creating_Aliases
-- F.
> * what else can be used for search through the core code?
git clone the code to your local system and use grep?
--
Chris Dent http://burningchrome.com/
[...]