Edgewall Software
Home
Trac
Trac Hacks
Genshi
Babel
Bitten
Home
Download
Documentation
Mailing Lists
License
FAQ
Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
-1
Start Page
Index
History
Editing TracDev/JavaScript
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
Trac uses JavaScript code to add dynamics on the browser side to web interface elements: * expanding/folding in TracBrowser * providing [TracKeys keyboard shortcuts] * ... {{{ #!comment list other uses of JS in Trac }}} Trac uses [http://en.wikipedia.org/wiki/JQuery jQuery] library to ease development. jQuery uses $ as a name of its function for brevity and this may cause conflicts with other libraries. To avoid this jQuery library is used in non-conflicting state (really?) and code that uses $() function as jQuery definition is wrapped into javascript closures. {{{ #!comment post a links to ajaxian javascript ninja to illustrate closures and (function($){ ... })(jQuery); syntax add comments from the http://groups.google.com/group/trac-dev/browse_thread/thread/bd2ad5f23b6a988?hl=en }}}
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.