Ticket #776 (closed enhancement: fixed)
new supertype helper method: addAsset(), which can load a css or js file to the head section only if it has not been loaded already in a request
| Reported by: | lmajano | Owned by: | lmajano |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0.0 |
| Component: | Plugin Renderer | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by lmajano) (diff)
new supertype helper method: addAsset(), which can load a css or js file to the head section only if it has not been loaded already in a request.
So if you make multiple calls, it only loads the asset ONCE!
<cfset addAsset('includes/js/jquery.js')>
Change History
Note: See
TracTickets for help on using
tickets.
