dojo / compose

**DEPRECATED** Dojo 2 - composition library.

Home Page:http://dojo.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discrete .initialize API

kitsonk opened this issue · comments

A common use case with compose is the need to simply change the initialization functionality without changing the prototype of the factory. We should consider a discrete API for initialization that allows the addition of an initialize function.

Should we also consider some sort of explicit ordering? For example, allow initialization functions to be inserted "first" or "last" or "before mixin" or "after mixin"?