Reviewers: mvstanton,

Description:
Fix small mistake in d8.js.

[email protected]
BUG=v8:2756

Please review this at https://codereview.chromium.org/18572009/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/d8.js


Index: src/d8.js
diff --git a/src/d8.js b/src/d8.js
index df1046133fbff449b29d40aa482b691ecff936fa..3efea063787a7e6ef1b2869d34627efbc74f9356 100644
--- a/src/d8.js
+++ b/src/d8.js
@@ -1020,7 +1020,7 @@ DebugRequest.prototype.changeBreakpointCommandToJSONRequest_ =
           args.substring(nextPos + 1, args.length) : 'all';
       if (!arg2) {
         arg2 = 'all'; // if unspecified, set for all.
-      } if (arg2 == 'unc') { // check for short cut.
+      } else if (arg2 == 'unc') { // check for short cut.
         arg2 = 'uncaught';
       }
       excType = arg2;


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to