diff --git a/Objective-J/Runtime.js b/Objective-J/Runtime.js index 51af4d3d8..f52da4c0c 100644 --- a/Objective-J/Runtime.js +++ b/Objective-J/Runtime.js @@ -370,9 +370,9 @@ if (new prototype_bug().member) { var fast_class_createInstance = class_createInstance; -alert('THE BUG'); + class_createInstance = function(/*Class*/ aClass) -{alert("theee bugggg"); +{ var object = fast_class_createInstance(aClass); if (object) diff --git a/Objective-J/Scope.js b/Objective-J/Scope.js index 980074252..da119347e 100644 --- a/Objective-J/Scope.js +++ b/Objective-J/Scope.js @@ -17,7 +17,7 @@ function cacheExportedNamesAndValues() cachedExportedNames.push(exportName); cachedExportedValues.push(exports[exportName]); } -alert(cachedExportedNames); + exportedNames = function() { return cachedExportedNames;