Closed KeesCBakker closed 8 years ago
I admit that it is weird to serve an empty style sheet, but it should not break Selectivizr.
@keithclark was involved in a series of kung fu fights for ultimate glory. Unfortunately he lost so I'm going to try and maintain this project at https://github.com/corysimmons/selectivizr2
Would you please reopen/rebase your PR over there?
Love to do that, but I have no idea how!
Clone selectivizr2 to your local environment. Create a new branch. Manually re-add this code to the new branch. Open Pull Request.
Loading an empty stylesheet might result in the
xhr.responseText
beingnull
. Rest of the code expect an EMPTY_STRING. Returning null will cause a JavaScript error.