I've been making some changes in the
Yadda 0.3.0 branch so that it can be bundled as a node module, but having difficulty requiring the module from Casper.
var Yadda = require('./lib/yadda') results in
CasperError: CasperJS couldn't find module ./Interpreter
Interpreter is required by Yadda.js and the problem appears to have something to do with relative paths. If I hack the code to require('./lib/yadda/lib/Interpreter'), Casper complains about the next requirement.
Any ideas how to work around this? I've tried using Browserify to create web compatible and umd compatible modules without any luck.
Thanks,
Steve