Преглед изворни кода

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

Manfred Kroehnert пре 12 година
родитељ
комит
f845df70b7
1 измењених фајлова са 1 додато и 2 уклоњено
  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');