mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 06:07:59 +01:00
Use JS5's strict mode. But, alas! it outlaws octal! Oh the inanity...
--HG-- branch : testing
This commit is contained in:
@@ -2,6 +2,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";
|
||||
|
||||
// TODO: Clean this up.
|
||||
|
||||
@@ -109,7 +110,7 @@ const JavaScript = Module("javascript", {
|
||||
return completions;
|
||||
},
|
||||
|
||||
eval: function eval(arg, key, tmp) {
|
||||
eval: function evalstr(arg, key, tmp) {
|
||||
let cache = this.context.cache.eval;
|
||||
let context = this.context.cache.evalContext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user