mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 20:17:58 +01:00
Rename util.(escapeRegexp|regexpSource) to util.regexp.(escape|getSource).
This commit is contained in:
@@ -1274,7 +1274,7 @@ const Dactyl = Module("dactyl", {
|
||||
setter: function (value) {
|
||||
let win = document.documentElement;
|
||||
function updateTitle(old, current) {
|
||||
document.title = document.title.replace(RegExp("(.*)" + util.escapeRegexp(old)), "$1" + current);
|
||||
document.title = document.title.replace(RegExp("(.*)" + util.regexp.escape(old)), "$1" + current);
|
||||
}
|
||||
|
||||
// TODO: remove this FF3.5 test when we no longer support 3.0
|
||||
|
||||
Reference in New Issue
Block a user