Remove tabs
authorpeter.rybin@gmail.com <peter.rybin@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 14 May 2010 19:20:07 +0000 (19:20 +0000)
committerpeter.rybin@gmail.com <peter.rybin@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 14 May 2010 19:20:07 +0000 (19:20 +0000)
Review URL: http://codereview.chromium.org/2132003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4657 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/d8.js
src/debug-debugger.js

index 455aa6f9556dcb26b101be361f8f2c7380209f5a..5c3da13a67c4592c026a6a86835c5eddeb321340 100644 (file)
--- a/src/d8.js
+++ b/src/d8.js
@@ -963,8 +963,8 @@ function DebugResponseDetails(response) {
         break;
         
       case 'listbreakpoints':
-       result = 'breakpoints: (' + body.breakpoints.length + ')';
-       for (var i = 0; i < body.breakpoints.length; i++) {
+        result = 'breakpoints: (' + body.breakpoints.length + ')';
+        for (var i = 0; i < body.breakpoints.length; i++) {
           var breakpoint = body.breakpoints[i];
           result += '\n id=' + breakpoint.number;
           result += ' type=' + breakpoint.type;
@@ -991,9 +991,9 @@ function DebugResponseDetails(response) {
             result += ' condition=' + breakpoint.condition;
           }
           result += ' hit_count=' + breakpoint.hit_count;
-       }
-       details.text = result;
-       break;
+        }
+        details.text = result;
+        break;
 
       case 'backtrace':
         if (body.totalFrames == 0) {
index 369a02c446db4136ce5c32c8388483b5542e16d4..77fa1ddd65e2c3623540e6b1acb399470ff0cc98 100644 (file)
@@ -1586,27 +1586,27 @@ DebugCommandProcessor.prototype.clearBreakPointRequest_ = function(request, resp
 DebugCommandProcessor.prototype.listBreakpointsRequest_ = function(request, response) {
   var array = [];
   for (var i = 0; i < script_break_points.length; i++) {
-       var break_point = script_break_points[i];
-       
-       var description = {
-         number: break_point.number(),
-         line: break_point.line(),
-         column: break_point.column(),
-         groupId: break_point.groupId(),
-         hit_count: break_point.hit_count(),
-         active: break_point.active(),
-         condition: break_point.condition(),
-         ignoreCount: break_point.ignoreCount()
-       }
-       
+    var break_point = script_break_points[i];
+
+    var description = {
+      number: break_point.number(),
+      line: break_point.line(),
+      column: break_point.column(),
+      groupId: break_point.groupId(),
+      hit_count: break_point.hit_count(),
+      active: break_point.active(),
+      condition: break_point.condition(),
+      ignoreCount: break_point.ignoreCount()
+    }
+    
     if (break_point.type() == Debug.ScriptBreakPointType.ScriptId) {
       description.type = 'scriptId';
-         description.script_id = break_point.script_id();
+      description.script_id = break_point.script_id();
     } else {
       description.type = 'scriptName';
       description.script_name = break_point.script_name();
     }
-       array.push(description);
+    array.push(description);
   }
   
   response.body = { breakpoints: array }