On Wednesday, May 21, 2014 10:17:32 AM UTC-7, Will Holcomb wrote:
>
> Making sure the design document wasn't out of date was a good idea. 
> Unfortunately, it seems correct:
>
> {"views":{"by_time":{"map":"function ( doc ) { if( doc.type == 'reading' ) 
> { d = new Date( doc.time ); emit( [d.getFullYear(), d.getMonth(), 
> d.getDate(), d.getHours(), d.getMinutes()], doc ) } 
> }"}},"_rev":"1-f36be2417d00836fd5a375e7689fbda3","_id":"_design/reading"}
>
> -Will
>

Hmm, I'm running out of ideas. What is the value of:

var view = db( [design, '_view'] )
console.log(view.url)

If that doesn't show something unexpected, my next step will be to ask if I 
can try to run your code on my workstation...

Cheers,
Chris

 

>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/ad5701d8-5fec-496a-bc56-6a3748437e87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to