On Wed, Dec 2, 2015 at 3:55 PM, Johannes Jörg Schmidt <[email protected]> wrote: > I like the idea of reducing the global scope, but the context > overloading as well as introducing additional arguments does not feel > right to me. > Why not using CommonJS for that? > > function(doc) { > var emit = require('emit') > emit(doc.date, null) > }
Also good idea. But won't this cause any collisions with CommonJS lib stored in design document? Just thought. -- ,,,^..^,,,
