incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Chris Anderson <jch...@gmail.com>
Subject Re: Newbie problem with template path
Date Mon, 12 Apr 2010 03:36:21 GMT

On Apr 11, 2010, at 4:07 PM, Avi Flax wrote:

> On Sun, Apr 11, 2010 at 19:01, Avi Flax <avif@arc90.com> wrote:
> 
>> Now that 0.11 has been released, I'm wondering if this happened? I
>> can't seem to find any documentation on such a feature.
> 
> OK, after a little more digging, I found some JIRA issues that seem to
> be related:
> 
> https://issues.apache.org/jira/browse/COUCHDB-658
> "Add CommonJS style modules to the view server" — I imagine this would
> be useful for loading a templating library.
> 
> https://issues.apache.org/jira/browse/COUCHDB-693
> "require function - add support for requiring plain html/xml files in
> addition to only javascript" — this seems it would be the mechanism
> for loading the templates themselves.
> 
> They are both marked as open and unassigned, so I assume neither made
> it in to 0.11. Since 0.11 is supposed to be a feature freeze for 1.0,
> I suppose that means that these features will be post-1.0?


The first (CommonJS require) made it into 0.11 and I've just commented on the second with
the correct way to load templates (the _design doc is available as the "this" object in _show
_list etc functions).

Thanks for bringing these to my attention. I've closed them both.

Chris
Mime
View raw message