private Require createRequire(Context cx, Scriptable scope)
{
URI dirUri = this.getDirectory();
Iterable<URI> uris = Collections.singleton(dirUri);
UrlModuleSourceProvider urlModuleSourceProvider = new RaptorUrlModuleSourceProvider(uris, null);
Require require = new RaptorRequire(
cx,
scope,
urlModuleSourceProvider,