mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 07:57:59 +01:00
Fix Minefield a-fucking-gain.
This commit is contained in:
@@ -85,7 +85,7 @@ var Download = Class("Download", {
|
||||
},
|
||||
|
||||
commands: {
|
||||
delete: function delete() {
|
||||
delete: function delete_() {
|
||||
this.targetFile.remove(false);
|
||||
this.updateStatus();
|
||||
},
|
||||
|
||||
@@ -98,7 +98,7 @@ var JavaScript = Module("javascript", {
|
||||
return cache[key];
|
||||
|
||||
context[JavaScript.EVAL_TMP] = tmp;
|
||||
context[JavaScript.EVAL_EXPORT] = function export(obj) cache[key] = obj;
|
||||
context[JavaScript.EVAL_EXPORT] = function export_(obj) cache[key] = obj;
|
||||
try {
|
||||
if (tmp != null) // Temporary hack until bug 609949 is fixed.
|
||||
this.modules.dactyl.userEval(JavaScript.EVAL_EXPORT + "(" + arg + ")", context, "[Command Line Completion]", 1);
|
||||
|
||||
@@ -55,7 +55,7 @@ var StoreBase = Class("StoreBase", {
|
||||
this.fireEvent("change", null);
|
||||
},
|
||||
|
||||
delete: function delete() {
|
||||
delete: function delete_() {
|
||||
delete storage.keys[this.name];
|
||||
delete storage[this.name];
|
||||
storage.infoPath.child(this.name).remove(false);
|
||||
|
||||
Reference in New Issue
Block a user