mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-24 10:05:47 +01:00
Preliminary REPL mode.
This commit is contained in:
@@ -213,7 +213,7 @@ var 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