From 7d7281480af62deb72e2e6817c7555151b89e894 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Sat, 20 Feb 2010 02:42:57 -0800 Subject: [PATCH] Typo in last commit and forgot one change. Reviewed by me. --- Objective-J/FileExecutable.js | 2 +- Tools/press/main.j | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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),