X-Git-Url: https://git.donarmstrong.com/?p=dactyl.git;a=blobdiff_plain;f=common%2Fcontent%2Fabbreviations.js;h=08294970d684e4e6541513620430f99c9129e4d7;hp=71e6c93b969391810617c96bdfa3256eaf8d49ee;hb=9044153cb63835e39b9de8ec4ade237c03e3888a;hpb=70740024f9c028c1fd63e1a1850ab062ff956054 diff --git a/common/content/abbreviations.js b/common/content/abbreviations.js index 71e6c93..0829497 100644 --- a/common/content/abbreviations.js +++ b/common/content/abbreviations.js @@ -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 */ @@ -350,7 +350,9 @@ var Abbreviations = Module("abbreviations", { command: this.name, arguments: [abbr.lhs], literalArg: abbr.rhs, - options: callable(abbr.rhs) ? {"-javascript": null} : {} + options: { + "-javascript": abbr.rhs ? null : undefined + } } for ([, abbr] in Iterator(abbreviations.user.merged)) if (abbr.modesEqual(modes))