Ticket #484 (new enhancement)

Opened 2 years ago

Last modified 12 months ago

startup hooks

Reported by: FND Owned by:
Priority: minor Milestone: 2.6.2
Component: core Version:
Severity: medium Keywords:
Cc:

Description

TiddlyWiki should provide hooks for the four startup phases in order to provide greater flexibility for plugins and to promote cleaner code.

Reasoning

Currently, plugins need to hijack restart() for initialization purposes.

The only workaround is to create a macro and use its initialization function (e.g. config.macros.foo.init()). However, this should not be encouraged as it pollutes the macros namespace.

Change History

Changed 2 years ago by MartinBudden

  • owner JeremyRuston deleted
  • milestone set to 2.4

Changed 2 years ago by MartinBudden

  • milestone changed from 2.4 to 2.5

Changed 17 months ago by FND

  • milestone changed from 2.5 to 2.6

Changed 12 months ago by FND

cf. #978

Note: See TracTickets for help on using tickets.