Thread:Project:Support desk/Extension's stylesheet media types being ignored by JS loader?

I'm not really sure yet what's going on here, but I think that mw.loader.load is ignoring the media types that are specified in an extension. Everything works correctly with.

The  entry looks like this:

With debug turned off, it's loading the stylesheets correctly as  elements, but they also get included as part of the javascript that gets included at the end of the page. The second time they get included, in the JS, the media types are being left out, and so the print styles are being loaded for all requests.

I'm no doubt missing something obvious here! Any help would be greatly appreciated.