lipsumar / design-system-framework

9 stars 2 forks source link

Allow components to explicitly define dependencies #23

Closed lipsumar closed 8 years ago

lipsumar commented 8 years ago

DSF analyse code to find dependencies, but sometimes it just can'f find some dependencies.

Very easy to add: change this in Component.resolveDependencies:

var dependencies = [],

to

var dependencies = this.config.dependencies || [],