On 16.03.2015 22:28, Jan Lehnardt wrote: > - map/reduce functions for CouchDB views need to be “pure”, e.g. we need to > guarantee > they stay the same unless CouchDB can see any changes (and then invalidate > the view > index). This means we need some extra isolation of the JS execution. And > some > limitation or observation of the require() system. > > There is a project that demonstrated we can do this. Jason Smith has run > this, > but I can’t seem to find it on his GitHub. Jason, do you have any pointers?
Klaus Trainer did https://github.com/KlausTrainer/sandbox.js, which might be interesting in this context.
