Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #987 from vzvu3k6k/fix-headers-this
Browse files Browse the repository at this point in the history
Fix `this` value in callback in constuctor of Headers
  • Loading branch information
assaf committed Dec 10, 2015
2 parents e4faed1 + 422a12f commit 340a3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetch.js
Expand Up @@ -26,7 +26,7 @@ class Headers {
for (let [name, value] of init)
this.append(name, value);
else if (init instanceof Object)
_.each(init, function(value, name) {
_.each(init, (value, name)=> {
this.append(name, value);
});
}
Expand Down

0 comments on commit 340a3d2

Please sign in to comment.