projectodd/nodyn — pull request #37 by t-beckmann (2013-12-20 17:26:40+00:00)
Title: Fixes for NPM node modules

Hi,

this fixes two issues:
1. When manipulating the local load path in the load() method, the context of execution must be passed to the runner as otherwise the load paths will not take effect since they are stored in the wrong scope.
2. The backslash used as file separator on Windows is interpreted as an escape in JavaScript. This messes up the paths so that the resulting strings have no separators at all. Since Java is okay with eating forward slashes on all platforms, the backward slashes are replaced at all relevant places. In effect the code is now compatible with running on Windows.

I'll be on holiday the next 3 weeks. So, Merry Christmas and a have a Happy New Year upfront to you.

Best regards,
Thomas.