From 6600435378ddde1af1d84c7ccfd5b7555ab0ac55 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Tue, 5 Mar 2013 15:29:47 +0100 Subject: [PATCH] Remove dangling whitespace. --- test/phantom-jasmine/console-runner.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/phantom-jasmine/console-runner.js b/test/phantom-jasmine/console-runner.js index fcd4a6d47f..b86817bd64 100644 --- a/test/phantom-jasmine/console-runner.js +++ b/test/phantom-jasmine/console-runner.js @@ -1,9 +1,9 @@ /** - Jasmine Reporter that outputs test results to the browser console. + Jasmine Reporter that outputs test results to the browser console. Useful for running in a headless environment such as PhantomJs, ZombieJs etc. Usage: - // From your html file that loads jasmine: + // From your html file that loads jasmine: jasmine.getEnv().addReporter(new jasmine.ConsoleReporter()); jasmine.getEnv().execute(); */ @@ -23,7 +23,7 @@ var color_code = this.color_map[color]; return "\033[" + color_code + "m" + text + "\033[0m"; } - + var ConsoleReporter = function() { if (!console || !console.log) { throw "console isn't present!"; } this.status = this.statuses.stopped;