Skip to content

Commit

Permalink
Remove duplicate var headers = {};
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye authored and Rob Winch committed Jul 25, 2015
1 parent 6c970ef commit 1266fd0
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ function ApplicationModel(stompClient) {
self.connect = function() {
var headers = {};
var csrf = self.csrfToken();
var headers = {};
headers[csrf.headerName] = csrf.token;
stompClient.connect(headers, function(frame) {

Expand Down

0 comments on commit 1266fd0

Please sign in to comment.