Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: src/d8.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/array.js ('k') | src/v8natives.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.js
diff --git a/src/d8.js b/src/d8.js
index 86b8c8106cccacf80107c644731d505d71819a68..9b5b8491ec1117b014e74474c55f08548ec64bee 100644
--- a/src/d8.js
+++ b/src/d8.js
@@ -1396,8 +1396,11 @@ DebugRequest.prototype.lolToJSONRequest_ = function(args, is_repeating) {
case 'ret':
case 'retaining-paths':
case 'rp': {
- if (cmd === 'ret') cmd = 'retainers';
- else if (cmd === 'rp') cmd = 'retaining-paths';
+ if (cmd === 'ret') {
+ cmd = 'retainers';
+ } else if (cmd === 'rp') {
+ cmd = 'retaining-paths';
+ }
if (!first_arg_index) first_arg_index = 2;
« no previous file with comments | « src/array.js ('k') | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698