> On Jul 21, 2015, at 11:43 AM, Hideki Itakura <[email protected]> wrote:
> 
> I wonder to many back-slash (\\\\\\\n) might caused problem. 

You’re right, that’s way too many backslashes — a newline in the JavaScript 
should be written as just “\n” in the JSON. As written, there are a bunch of 
literal backslashes in the JavaScript code, which are syntax errors.

CBL/Android should be returning a different error code if the JS fails to 
compile, though. iOS returns 500 "Application callback block failed”. A warning 
would be good too.

—Jens

-- 
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/CB6E0970-217D-4FDA-B169-E3DA1297F5C5%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to