domenic / jadeify

A simple browserify transform for turning .jade files into template functions
Other
162 stars 24 forks source link

Support extends #39

Open stevetarver opened 9 years ago

stevetarver commented 9 years ago

Surprised to find that extending a layout does not work - would be nice if it did.

I have several Backbone list item view templates that have common code. I tried extracting that into a common layout including a block content and then extending the base with each variant item view. Didn't work. Is there some existing secret trick that would allow me to do this, or is this a feature request.

Thanks for the amazingly useful code btw.

domenic commented 8 years ago

Sorry for not responding earlier. I am not really understanding what you are trying to do here. Perhaps you could give a small minimal code example that fails to work?