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:
@@ -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 + ": " +
|
||||
|
||||
Reference in New Issue
Block a user