Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Commit

Permalink
Added missing var statement, removed some debugging output.
Browse files Browse the repository at this point in the history
  • Loading branch information
itsgoingd committed Sep 23, 2014
1 parent ccb2430 commit 3c6fc07
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Clockwork Chrome/assets/javascripts/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ Clockwork.controller('PanelController', function PanelController($scope, $http)
});
});

chrome.devtools.network.onRequestFinished.addListener(function(request) {
console.log(request);

headers = request.response.headers;
chrome.devtools.network.onRequestFinished.addListener(function(request)
{
var headers = request.response.headers;
var requestId = headers.find(function(x) { return x.name == 'X-Clockwork-Id'; });
var requestVersion = headers.find(function(x) { return x.name == 'X-Clockwork-Version'; });
var requestPath = headers.find(function(x) { return x.name == 'X-Clockwork-Path'; });
Expand Down

0 comments on commit 3c6fc07

Please sign in to comment.