There's a ticket suggesting we introduce an alias/shortcut for the 
global jQuery variable:
     http://trac.tiddlywiki.org/ticket/1032

Jeremy brought this up as it might improve code readability, and also 
save some bytes.

As an alternative to introducing such a global variable, we could use 
closures for creating local aliases[1] within the respective modules.

Another alternative, of course, is to just keep it as "jQuery" (at least 
for now, until we have more experience and/or a stronger use case).

Personally, I don't like the "jq" name, also because it seems like we're 
creating an arbitrary name specific to the TiddlyWiki community (FWIW, 
the jQuery documentation uses $j[2]).
I also think that such a global shortcut is not required.

Any thoughts?


-- F.


[1] http://tiddlywiki.org/wiki/Dev:Best_Practices#Creating_Aliases
[2] http://docs.jquery.com/Using_jQuery_with_Other_Libraries

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to