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