]> git.donarmstrong.com Git - dactyl.git/blobdiff - common/content/abbreviations.js
Import 1.0rc1 supporting Firefox up to 11.*
[dactyl.git] / common / content / abbreviations.js
index 71e6c93b969391810617c96bdfa3256eaf8d49ee..08294970d684e4e6541513620430f99c9129e4d7 100644 (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 */
 
@@ -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))