We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d93f802 commit 69745dfCopy full SHA for 69745df
src/scripts/uri.js
@@ -104,6 +104,13 @@ var URIPrototype = function(uri_prop_name)
104
105
this.__defineSetter__("dir_pathname", function() {});
106
107
+ this.__defineGetter__("basename", function()
108
+ {
109
+ return this.filename || this.dir_pathname;
110
+ });
111
+
112
+ this.__defineSetter__("basename", function() {});
113
114
this.__defineGetter__("abs_dir", function()
115
{
116
if (this._abs_dir === undefined && (this._is_parsed || this[uri_prop_name]))
0 commit comments