Skip to content
Snippets Groups Projects
Commit 27d96e0d authored by echicken's avatar echicken :chicken:
Browse files

This isn't a 'class', so call it 'request', and include return-style last line.

parent 5ef3b1c9
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
// Helpers for http_request
var Request = {
var request = {
// Query parameter p exists
has_param: function (p) {
return (Array.isArray(http_request.query[p]) && http_request.query[p].length);
......@@ -22,3 +22,5 @@ var Request = {
}
}
};
request;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment