1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 07:54:13 +01:00

Only explicitly demangle subscript URIs rather than doing it automatically in newURI. Closes issue #185.

This commit is contained in:
Kris Maglione
2011-02-02 09:26:56 -05:00
parent 8507b4f232
commit 5576a5f5e6
6 changed files with 15 additions and 10 deletions

View File

@@ -281,7 +281,7 @@ function deprecated(alternative, fn) {
let obj = this.className ? this.className + "#" :
this.constructor.className ? this.constructor.className + "#" :
"";
let filename = (frame.filename || "unknown").replace(/.* -> /, "");
let filename = util.fixURI(frame.filename || "unknown");
if (!set.add(deprecatedMethod.seen, filename))
util.dactyl(fn).warn(
util.urlPath(filename) + ":" + frame.lineNumber + ": " +