Ticket #826 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by FND

  • status changed from new to closed
  • resolution set to duplicate

Dupe of #735; fixed in changeset:6903.

Note: See TracTickets for help on using tickets.