mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 06:42:29 +01:00
Moderately different (and probably jarring) :*usage definition information.
This commit is contained in:
@@ -148,7 +148,7 @@ const Highlights = Module("Highlight", {
|
||||
*/
|
||||
selector: function (class_)
|
||||
let (self = this)
|
||||
class_.replace(/(^|\s)([A-Z]\w+)\b/g,
|
||||
class_.replace(/(^|[>\s])([A-Z]\w+)\b/g,
|
||||
function (m, n1, hl) n1 +
|
||||
(self.highlight[hl] && self.highlight[hl].class != class_
|
||||
? self.highlight[hl].selector : "[dactyl|highlight~=" + hl + "]")),
|
||||
|
||||
Reference in New Issue
Block a user