Currently, exports.Response in response.js and ScriptableResponse are different objects, despite the fact that for other modules(but for request.js) a JavaScript source in the lib directory just redirects exports to the target Scala module. For example, uuid.js is just like this: module.exports = UUID;.
I can't see any reason to separate them. It makes fixing them complicated, as both of them need to be changed. For example, like this: #157.
Currently,
exports.Response
inresponse.js
andScriptableResponse
are different objects, despite the fact that for other modules(but forrequest.js
) a JavaScript source in thelib
directory just redirectsexports
to the target Scala module. For example,uuid.js
is just like this:module.exports = UUID;
.I can't see any reason to separate them. It makes fixing them complicated, as both of them need to be changed. For example, like this: #157.
If possible, I'd bother fixing this.