MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / makeRequests

Function makeRequests

OpenReservation/wwwroot/Scripts/respond.js:103–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102 //recurse through request queue, get css text
103 makeRequests = function () {
104 if (requestQueue.length) {
105 var thisRequest = requestQueue.shift();
106
107 ajax(thisRequest.href, function (styles) {
108 translate(styles, thisRequest.href, thisRequest.media);
109 parsedSheets[thisRequest.href] = true;
110 makeRequests();
111 });
112 }
113 },
114
115 //find media blocks in css text, convert to style blocks
116 translate = function (styles, href, media) {

Callers 1

ripCSSFunction · 0.85

Calls 2

ajaxFunction · 0.85
translateFunction · 0.85

Tested by

no test coverage detected