mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 15:07:57 +01:00
Fix buffer.URL on FF4.
This commit is contained in:
@@ -425,7 +425,7 @@ var Buffer = Module("buffer", {
|
||||
/**
|
||||
* @property {string} The current top-level document's URL.
|
||||
*/
|
||||
get URL() update(content.location.href, util.newURI(content.location.href)),
|
||||
get URL() update(new String(content.location.href), util.newURI(content.location.href)),
|
||||
|
||||
/**
|
||||
* @property {number} The buffer's height in pixels.
|
||||
|
||||
@@ -921,7 +921,7 @@ unlet s:cpo_save
|
||||
isDirectory: function () s.substr(-1) == "/",
|
||||
leafName: /([^\/]*)\/?$/.exec(s)[1]
|
||||
}
|
||||
for (s in io.listJar(getDir(uri.JARFile, uri.JAREntry)))]
|
||||
for (s in io.listJar(uri.JARFile, getDir(uri.JAREntry)))]
|
||||
};
|
||||
else
|
||||
context.generate = function generate_file() {
|
||||
|
||||
Reference in New Issue
Block a user