MiroHibler / meteor-preloader

A Meteor "lazy-loader" for external .js and .css libraries
75 stars 3 forks source link

Adding to Router.configure not sufficient #16

Open timothyarmes opened 9 years ago

timothyarmes commented 9 years ago

I would expect that adding preload section to Router.configure would be sufficient to have libraries loaded globally, however this isn't the case. If the route isn't derived from PreloadController then nothing happens.

Would it not be nicer to hook directly into IronRouter?