1
0
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:
Kris Maglione
2012-11-30 19:12:51 -08:00
parent 0c4a25ca86
commit 81b41176b6
12 changed files with 45 additions and 30 deletions

View File

@@ -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 }),

View File

@@ -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
};

View File

@@ -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 */