mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 00:35:46 +01:00
Death to E4X and stuff. Also fix some bugs.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
//
|
||||
// This work is licensed for reuse under an MIT license. Details are
|
||||
// given in the LICENSE.txt file included with this file.
|
||||
/* use strict */
|
||||
"use strict";
|
||||
|
||||
/** @scope modules */
|
||||
|
||||
@@ -213,18 +213,18 @@ var Abbreviations = Module("abbreviations", {
|
||||
nonkeyword: /[ "']/
|
||||
};
|
||||
|
||||
this._match = util.regexp(<><![CDATA[
|
||||
this._match = util.regexp(literal(/*
|
||||
(^ | \s | <nonkeyword>) (<keyword>+ )$ | // full-id
|
||||
(^ | \s | <keyword> ) (<nonkeyword>+ <keyword>)$ | // end-id
|
||||
(^ | \s ) (\S* <nonkeyword> )$ // non-id
|
||||
]]></>, "x", params);
|
||||
this._check = util.regexp(<><![CDATA[
|
||||
*/), "x", params);
|
||||
this._check = util.regexp(literal(/*
|
||||
^ (?:
|
||||
<keyword>+ | // full-id
|
||||
<nonkeyword>+ <keyword> | // end-id
|
||||
\S* <nonkeyword> // non-id
|
||||
) $
|
||||
]]></>, "x", params);
|
||||
*/), "x", params);
|
||||
},
|
||||
|
||||
get: deprecated("group.abbrevs.get", { get: function get() this.user.closure.get }),
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
//
|
||||
// This work is licensed for reuse under an MIT license. Details are
|
||||
// given in the LICENSE.txt file included with this file.
|
||||
/* use strict */
|
||||
"use strict";
|
||||
|
||||
/** @scope modules */
|
||||
|
||||
@@ -757,8 +757,10 @@ var Mappings = Module("mappings", {
|
||||
yield {
|
||||
name: name,
|
||||
columns: [
|
||||
i === 0 ? "" : <span highlight="Object" style="padding-right: 1em;">{mode.name}</span>,
|
||||
hive == mappings.builtin ? "" : <span highlight="Object" style="padding-right: 1em;">{hive.name}</span>
|
||||
i === 0 ? "" : ["span", { highlight: "Object", style: "padding-right: 1em;" },
|
||||
mode.name],
|
||||
hive == mappings.builtin ? "" : ["span", { highlight: "Object", style: "padding-right: 1em;" },
|
||||
hive.name]
|
||||
],
|
||||
__proto__: map
|
||||
};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
//
|
||||
// This work is licensed for reuse under an MIT license. Details are
|
||||
// given in the LICENSE.txt file included with this file.
|
||||
/* use strict */
|
||||
"use strict";
|
||||
|
||||
/** @scope modules */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user