@Override
public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) {
if (ScriptableObject.getProperty(env, "RHINODO_IGNORE_NOT_IMPLEMENTED_EXTENSIONS") != null) {
return cx.newObject(scope);
}
throw new NotImplementedException();
}
};
ScriptableObject.putProperty(extensions, ".js", new BaseFunction() {
@Override
public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) {