#1160: Add JSLinkOnline widget
---------------------+------------------------------------------------------
Reporter: fredlin | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0b3
Component: Widgets | Version: 1.0b1
Severity: normal | Keywords: online javascript library
---------------------+------------------------------------------------------
Many JS libraries are able to link online,
ex:
JSQuery
http://jquery.com/src/jquery-latest.pack.js
Since TG's target is web applications, it seems reasonable to provide a js
library widget
{{{
JSLinkOnline('JSQuery')
}}}
call that widget in controllers.py will insert the link to render pages:
{{{
<script type="text/javascript" src="http://jquery.com/src/jquery-
latest.pack.js"></script>
}}}
The benifits?
1. Ease the user to try different JS libraries
2. Always up to date JS libraries
3. Not affect the default TG
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1160>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---