From 52ee1ab5eb0f3197453b26c60a70239ac3fffea7 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 10 Apr 2012 14:29:49 -0700 Subject: chore(*): remove dead code and fix code style issues --- src/ngScenario/Scenario.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ngScenario/Scenario.js') diff --git a/src/ngScenario/Scenario.js b/src/ngScenario/Scenario.js index 7335d5de..19da6444 100644 --- a/src/ngScenario/Scenario.js +++ b/src/ngScenario/Scenario.js @@ -176,7 +176,7 @@ function asyncForEach(list, iterator, done) { * to a specific line length. * * @param {Object} error The exception to format, can be anything throwable - * @param {Number} maxStackLines Optional. max lines of the stack trace to include + * @param {Number=} [maxStackLines=5] max lines of the stack trace to include * default is 5. */ function formatException(error, maxStackLines) { @@ -307,7 +307,7 @@ function browserTrigger(element, type, keys) { pressed('shift'), pressed('meta'), 0, element); element.dispatchEvent(evnt); - finalProcessDefault = !(appWindow.angular['ff-684208-preventDefault'] || !fakeProcessDefault) + finalProcessDefault = !(appWindow.angular['ff-684208-preventDefault'] || !fakeProcessDefault); delete appWindow.angular['ff-684208-preventDefault']; -- cgit v1.2.3