artemyarulin / JSCoreBom

JavaScriptCore is missing some things you get used to - setTimeout, XMLHttpRequest, etc. This projects extends JSContext with native implementation of BOM using Objective-C
MIT License
59 stars 7 forks source link

Modifications to XMLHttpRequest #2

Closed nerdsupremacist closed 8 years ago

nerdsupremacist commented 8 years ago

I needed these for a project. So here you go so you don't have to write them again:

Adding readyState Adding statusCodes Adding setRequestHeader

(Granted... I'm not an Objective-C programmer, so I'm not up to date on the coding guidelines. So sorry in advance if I forgot a space here or there)

artemyarulin commented 8 years ago

Awesome, thank you!