Skip to content
Snippets Groups Projects
Commit 76f96f76 authored by deuce's avatar deuce
Browse files

Add request_path getter function

parent ac5a92e8
No related branches found
No related tags found
No related merge requests found
......@@ -83,4 +83,15 @@ function URL(url, base)
loop=true;
}
} while(loop);
this.request_path getter=function() {
var ret='';
if(this.path != undefined)
ret += this.path;
if(this.query != undefined)
ret += '?'+this.query;
if(this.fragment != undefined)
ret += '#'+this.fragment;
};
}
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