The program that I was originally working on has to be reviewed before it's
source is opened. I created a new cordova project, imported the couchbase
lite plugin, copied over my code, and it runs correctly.

I at a loss as to why, but if I figure out what changed, I'll let you know.

In any case I now have a working Ember app running on a mobile device
backed by couchbase lite. If anyone would like to try it out, the source is
at: https://github.com/wholcomb/habit_tracker A version backed by cloudant
is running at: http://hbit.herokuapp.com

-Will


On Wed, May 21, 2014 at 2:42 PM, J. Chris Anderson <[email protected]>wrote:

>
>
> 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 a topic in the
> Google Groups "Couchbase Mobile" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/mobile-couchbase/PCVFGaiTL5I/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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<https://groups.google.com/d/msgid/mobile-couchbase/ad5701d8-5fec-496a-bc56-6a3748437e87%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAB8ffCA0-SU0zo6%3D3tYpCSX9ficci7bnGOzw7jV%2BZWeVVPHAuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to