jcoglan/js.class — Issue #24: Wrong JSCLASS_PATH ?
Author: gossi
Created: 2011-10-20 16:09:57+00:00
State: open

Hey there,

I was trying to use JS.Class with my own JSCLASS_PATH. And I guess in packages/config.js the lines:

JS.Package.ENV.JSCLASS_PATH = JS.Package.ENV.JSCLASS_PATH ||
__FILE__().replace(/[^\/]*$/g, '');

should be:

JS.Package.ENV.JSCLASS_PATH = JSCLASS_PATH ||
__FILE__().replace(/[^\/]*$/g, '');

So you can modify the path from the outside. I modified it in my copy, I was able to configure the JSCLASS_PATH again.

Or is there any other idea to do this?