aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngScenario/Scenario.js
diff options
context:
space:
mode:
authorIgor Minar2012-04-10 14:29:49 -0700
committerIgor Minar2012-04-10 16:52:12 -0700
commit52ee1ab5eb0f3197453b26c60a70239ac3fffea7 (patch)
tree2c4dc57ec34d4fbc08248d72daf403bc36421f46 /src/ngScenario/Scenario.js
parentfcc556df3745d4c7768e235cb5f1caf70eb34639 (diff)
downloadangular.js-52ee1ab5eb0f3197453b26c60a70239ac3fffea7.tar.bz2
chore(*): remove dead code and fix code style issues
Diffstat (limited to 'src/ngScenario/Scenario.js')
-rw-r--r--src/ngScenario/Scenario.js4
1 files changed, 2 insertions, 2 deletions
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'];