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
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
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
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
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.