Fix for accidentally removing Executable.fileDependencies.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2010-01-27 03:16:46 -08:00
parent 38fd675f51
commit 96eebc7d1d
2 changed files with 11 additions and 5 deletions
+8
View File
@@ -6,6 +6,14 @@ exports.environments = function()
return ENVIRONMENTS;
}
if (window)
{
window.setNativeTimeout = window.setTimeout;
window.clearNativeTimeout = window.clearTimeout;
window.setNativeInterval = window.setInterval;
window.clearNativeInterval = window.clearNativeInterval;
}
// Objective-J Constants
var NO = false,
YES = true,
+3 -5
View File
@@ -3,7 +3,7 @@
* Objective-J
*
* Created by Francisco Tolmasky.
* Copyright 2008, 280 North, Inc.
* Copyright 2010, 280 North, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -64,9 +64,6 @@ function Executable(/*String*/ aCode, /*Array*/ fileDependencies, /*String*/ aSc
//}
this._function.displayName = this._scope;
#endif
if (code.indexOf("/Users/tolmasky/Desktop/LoadTest/main.j/**/") !== -1)
throw "why?";
}
Executable.prototype.path = function()
@@ -105,8 +102,9 @@ Executable.prototype.code = function()
return this._code;
}
Executable.prototype.filePathDependencies = function()
Executable.prototype.fileDependencies = function()
{
return this._fileDependencies;
}
Executable.prototype.scope = function()