Commit Graph

12 Commits

Author SHA1 Message Date
Timothy Gu 7f0e50260e Add a polyfill for Node.js v0.12's broken %IteratorPrototype% 2016-11-23 15:26:35 -08:00
Timothy Gu 25ff99677d Improve Headers' iteration support
Class strings, spec-compliant forEach, etc.
2016-11-23 15:06:30 -08:00
Timothy Gu 4ae42ea5ee Fix class names for prototypes
Per Web IDL specification.
2016-11-23 14:36:21 -08:00
Timothy Gu 31bc2835dd Start using Rollup
Smaller distributed tarball.
2016-11-23 11:18:02 -08:00
Timothy Gu 53e1055845 Use Object.create(null) for Headers' internal map
Suggested by @jimmywarting.
2016-10-15 10:03:10 -07:00
Timothy Gu f829b71ddb Use babel-runtime's Iterator implementation 2016-10-15 08:21:51 -07:00
Timothy Gu 2a7ef63bc4 Add FOLLOW_SPEC mode 2016-10-15 08:21:51 -07:00
Timothy Gu 2cafdcb5e4 Validate headers 2016-10-15 08:21:51 -07:00
Timothy Gu fba873d3fe Make sure to coerce header values to string 2016-10-15 08:21:51 -07:00
Timothy Gu 82c1e78184 Allow constructing Headers with an Array 2016-10-15 08:21:51 -07:00
Timothy Gu 993d4cdea1 Convert Headers to ES2015 and implement Iterable interface (#180)
Closes #127, #174.
2016-10-08 20:51:01 -07:00
Timothy Gu 7c26fa9479 Add Babel infrastructure
No actual code has been changed yet.
2016-10-04 02:59:46 -07:00