Skip to content

Commit

Permalink
Remove extra punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
dgraham committed Feb 22, 2017
1 parent 9630aaa commit eebaa2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
}, this)
} else if (Array.isArray(headers)) {
headers.forEach(function(header) {
this.append(header[0], header[1]);
}, this);
this.append(header[0], header[1])
}, this)
} else if (headers) {
Object.getOwnPropertyNames(headers).forEach(function(name) {
this.append(name, headers[name])
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ suite('Headers', function() {
var array = [
['Content-Type', 'text/xml'],
['Breaking-Bad', '<3']
];
]
var headers = new Headers(array)

assert.equal(headers.get('Content-Type'), 'text/xml')
Expand Down

0 comments on commit eebaa2a

Please sign in to comment.