Fix for FireFox not working.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2010-01-30 00:35:59 -08:00
1 parent e25a550d3f
commit d735cd98e7
4 files changed
+20 -9

No files matched your search

+2 -2
View File
@@ -73,7 +73,7 @@ Executable.prototype.path = function()
Executable.prototype.functionParameters = function()
{
var functionParameters = ["objj_executeFile", "objj_importFile"];
var functionParameters = ["global", "objj_executeFile", "objj_importFile"];
//exportedNames().concat("objj_executeFile", "objj_importFile");
@@ -87,7 +87,7 @@ Executable.prototype.functionParameters = function()
Executable.prototype.functionArguments = function()
{
var path = this.path(),
functionArguments = [fileExecuterForPath(path), fileImporterForPath(path)];
functionArguments = [global, fileExecuterForPath(path), fileImporterForPath(path)];
//functionArguments = exportedValues().concat(fileExecuterForPath(path), fileImporterForPath(path));