Support parse.com's Cloud Code environment in :nodejs builds

Description

parse.com's Cloud Code is very similar to node.js but expects no hashbang and doesn't provide util.js, so provide a compiler argument to elide the header and wrap the util.js require in a try...catch

Environment

None

Activity

Show:
Travis Vachon
January 22, 2014, 8:00 PM

it is yeah, I assumed that was ok because you said you'd be happy to remove it altogether - I'm ok with removing it if you think that's a preferable breaking change.

David Nolen
January 22, 2014, 8:11 PM

Lets rename it to enable-util-print! to match enable-console-print!.

Travis Vachon
January 22, 2014, 8:13 PM

cool! will do. I'll update the patch today.

Travis Vachon
January 23, 2014, 1:22 AM

rename function to enable-util-print!

David Nolen
January 23, 2014, 1:52 PM
Completed

Assignee

Unassigned

Reporter

Travis Vachon

Labels

Approval

None

Patch

Code

Priority

Minor