1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 09:48:00 +01:00

Fix buffer.URL on FF4.

This commit is contained in:
Kris Maglione
2011-01-25 21:02:41 -05:00
parent 44bdb6e666
commit b81f4be8fd
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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() {