diff --git a/Objective-J/FileExecutable.js b/Objective-J/FileExecutable.js index 79d81006d..e2b486b5a 100644 --- a/Objective-J/FileExecutable.js +++ b/Objective-J/FileExecutable.js @@ -24,7 +24,7 @@ var FileExecutablesForPaths = { }; function FileExecutable(/*String*/ aPath) { - var existingFileExecutable = FileExecutable.fileExecutablesForPaths[aPath]; + var existingFileExecutable = FileExecutablesForPaths[aPath]; if (existingFileExecutable) return existingFileExecutable; diff --git a/Tools/press/main.j b/Tools/press/main.j index 44a199eb0..695663519 100644 --- a/Tools/press/main.j +++ b/Tools/press/main.j @@ -212,7 +212,7 @@ function pressEnvironment(rootPath, outputFiles, environment, options) { } total++; totalBytes += aFileExecutable.code().length - } + }, this); stream.print(sprintf( "Saved \0green(%f%%\0) (\0blue(%s\0)); Total required files: \0magenta(%d\0) (\0blue(%s\0)) of \0magenta(%d\0) (\0blue(%s\0));", Math.round(((includedBytes - totalBytes) / totalBytes) * -100),