mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-23 23:15:52 +00:00
Fix objj_eval (used in objj REPL, etc).
This commit is contained in:
1 parent
3ee3acc948
commit
9c342ca19c
1 file changed
+6
-3
@@ -218,10 +218,13 @@ Executable.prototype.loadFileDependencies = function(aCallback)
|
||||
{
|
||||
var status = this._fileDependencyStatus;
|
||||
|
||||
if (status === ExecutableLoadedFileDependencies)
|
||||
return aCallback();
|
||||
if (aCallback)
|
||||
{
|
||||
if (status === ExecutableLoadedFileDependencies)
|
||||
return aCallback();
|
||||
|
||||
this._fileDependencyCallbacks.push(aCallback)
|
||||
this._fileDependencyCallbacks.push(aCallback);
|
||||
}
|
||||
|
||||
if (status === ExecutableUnloadedFileDependencies)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user