SlexAxton / require-handlebars-plugin

A plugin for handlebars in require.js (both in dev and build)
804 stars 202 forks source link

dynamically looked up partials are not autoloaded #240

Open alanruttenberg opened 9 years ago

alanruttenberg commented 9 years ago

I have something like the following: {{> (lookup foo 'bar') p=./p}}

However it seems that such partials are not autoloaded in the same way that partials explicitly named in the template are.

Suggestions?

alanruttenberg commented 9 years ago

For now I am working around this by defining an #*inline that I don't use, but which explicitly mentions each of the partials.