jack updates

0 views
Skip to first unread message

Tim Schaub

unread,
Feb 10, 2010, 6:38:54 PM2/10/10
to appen...@googlegroups.com
Hey-

I'm running into trouble using the gmosx/jack fork. The URLMap
middlewear relies on str.chomp, squeeze, etc. still.

This changed in tlrobinson/jack with:
http://github.com/tlrobinson/jack/commit/cae271b1c09d892ef371302e4a44c1f44652fa63

I haven't looked closely at the differences, but I'm curious what the
prospects are for using tlrobinson/jack.

Are others able to use URLMap middlewear with appengine-js?

Thanks,
Tim

Kris Kowal

unread,
Feb 10, 2010, 6:42:41 PM2/10/10
to appen...@googlegroups.com

You need http://github.com/kriskowal/narwhal-moar-monkeys

This can be made a dependency.

I took this out of Narwhal since it breaks CommonJS inter-compatibility.

Kris Kowal

Tim Schaub

unread,
Feb 10, 2010, 6:55:41 PM2/10/10
to appen...@googlegroups.com
Kris Kowal wrote:
> On Wed, Feb 10, 2010 at 3:38 PM, Tim Schaub <tsc...@opengeo.org> wrote:
>> Hey-
>>
>> I'm running into trouble using the gmosx/jack fork. The URLMap middlewear
>> relies on str.chomp, squeeze, etc. still.
>>
>> This changed in tlrobinson/jack with:
>> http://github.com/tlrobinson/jack/commit/cae271b1c09d892ef371302e4a44c1f44652fa63
>>
>> I haven't looked closely at the differences, but I'm curious what the
>> prospects are for using tlrobinson/jack.
>>
>> Are others able to use URLMap middlewear with appengine-js?
>
> You need http://github.com/kriskowal/narwhal-moar-monkeys
>
> This can be made a dependency.
>

Thanks Kris.

I'm a bit brain dead from debugging. Can you add a bit of detail to the
use of this? Does this need to execute before bootstrapping?

Tim

Kris Kowal

unread,
Feb 10, 2010, 6:57:22 PM2/10/10
to appen...@googlegroups.com
On Wed, Feb 10, 2010 at 3:55 PM, Tim Schaub <tsc...@opengeo.org> wrote:
> I'm a bit brain dead from debugging.  Can you add a bit of detail to the use
> of this?  Does this need to execute before bootstrapping?

Install it. Magic happens.

(There's a "preload" property in the package.json that instructs
Narwhal to execute additional global module code before running any
program code. We use this feature to install new module loaders for
alternate interpreters, and, in this case, to patch the globals)

Kris Kowal

Tim Schaub

unread,
Feb 10, 2010, 7:09:49 PM2/10/10
to appen...@googlegroups.com
Kris Kowal wrote:
> On Wed, Feb 10, 2010 at 3:55 PM, Tim Schaub <tsc...@opengeo.org> wrote:
>> I'm a bit brain dead from debugging. Can you add a bit of detail to the use
>> of this? Does this need to execute before bootstrapping?
>

Got it. Just needed to execute it before exporting my app. Installing
felt like a slightly harder thing to manage than a 50 line monkey patch
I can delete when other dependencies are updated.

Reply all
Reply to author
Forward
0 new messages