chuckcarpenter/REM-unit-polyfill — pull request #38 by rbhalla (2014-02-11 13:29:57+00:00)
Title: Rectify when buildCSS is called

Before, the matchCSS function was assuming that it was being called in the order each sheet had been passed to the xhr function (i.e. i wouldn't be 1 before it was 0).

This wasn't the case for me, and in these cases some stylesheets weren't being parsed (generally the larger ones).

This is my small fix to get it working properly.