MCPcopy Create free account
hub / github.com/Yaffle/EventSource / toLowerCase

Function toLowerCase

tests/eventsource.js:450–454  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

448 };
449
450 function toLowerCase(name) {
451 return name.replace(/[A-Z]/g, function (c) {
452 return String.fromCharCode(c.charCodeAt(0) + 0x20);
453 });
454 }
455
456 function HeadersPolyfill(all) {
457 // Get headers: implemented according to mozilla's example code: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/getAllResponseHeaders#Example

Callers 2

HeadersPolyfillFunction · 0.70
eventsource.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected