aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Karneges <justin@affinix.com>2013-12-19 19:11:56 -0800
committerJustin Karneges <justin@affinix.com>2013-12-19 19:11:56 -0800
commit5cd5d4c03ea14d86e490d090a6b16bffcf146eca (patch)
tree5604a43c5a8f11a065f28261718aff9bbd110c2e
parentd5b14d321ad6659bb7bbc7384b483c16bdd78c41 (diff)
downloadpollymer-5cd5d4c03ea14d86e490d090a6b16bffcf146eca.tar
pollymer-5cd5d4c03ea14d86e490d090a6b16bffcf146eca.tar.gz
add a comment about the IE workaround
-rw-r--r--pollymer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/pollymer.js b/pollymer.js
index 53b0573..fa0f708 100644
--- a/pollymer.js
+++ b/pollymer.js
@@ -58,6 +58,7 @@ var DEBUG = true;
var headerPairs = headerStr.split('\u000d\u000a');
for (var i = 0; i < headerPairs.length; i++) {
var headerPair = headerPairs[i];
+ // IE sometimes puts a newline at the start of header names
if (headerPair[0] == '\u000a') {
headerPair = headerPair.substring(1);
}