Ticket #826 (closed defect: duplicate)
create config.extensions
| Reported by: | mahemoff | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | undefined | Milestone: | |
| Component: | core | Version: | |
| Severity: | undefined | Keywords: | |
| Cc: |
Description
http://www.tiddlywiki.org/wiki/Dev:Plugin_Specifications suggests including the following boilerplate:
if(!config.extensions) { config.extensions = {}; }
If config.extensions usage is a best practice, the core ought to create it on startup.
(Using dynamic properties of Javascript, I believe there is opportunity for further "Don't Repeat Yourself"-ness in the standard plugin boilerplate.)
Change History
Note: See
TracTickets for help on using
tickets.
