Browse Source

amberc.js: move console.timeEnd() inside optimize()

Manfred Kroehnert 12 years ago
parent
commit
f845df70b7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      bin/amberc.js

+ 1 - 2
bin/amberc.js

@@ -433,6 +433,7 @@ function optimize() {
 		console.log('Compiling ' + defaults.program + '.js file using Google closure compiler.');
 		closure_compile(defaults.program + '.js', defaults.program + '.min.js');
 	}
+	console.timeEnd('Compile Time');
 }
 
 
@@ -454,5 +455,3 @@ function closure_compile(sourceFile, minifiedFile) {
 		}
 	);
 }
-
-console.timeEnd('Compile Time');