nathanboktae / q-xhr

XMLHttpRequest using powerful Q promises

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missing var

ibc opened this issue · comments

https://github.com/nathanboktae/q-xhr/blob/master/q-xhr.js#L129

mergeHeaders = function(config) {

=>

var mergeHeaders = function(config) {

or

function mergeHeaders(config) {

No, it is one big var declaration there that is all comma-delmited on multiple lines.

wow, sorry...

yeah I should have indented the variables on multiple lines (I do that nowadays)

Welcome to the JS coding style war :)