couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <d...@myheartisagapinghole.com>
Subject Adding functions to the JavaScript global object for use in views
Date Fri, 09 Jan 2009 22:03:38 GMT
Hi,

I was wondering if there was a standard way to add helper functions or
augment the built-in data types (Array, Date, etc.) in the JavaScript
global object used by couch db for map/reduce functions. My motivation
here is to add some code for parsing ISO8601 date strings into
JavaScript Date objects for the purpose of view collation in multiple
views.

Thanks,

Dave

Mime
View raw message