News for hackers. Stuff that matters.
Re:Swipe 2 is now live by snsr on Monday March 11, 2013 @01:10PM (#5358091)
I've found Swipe.js to be helpful in the past, looking forward to checking the new version out.

@bradbirdsall - Chrome canary calls out the mime type of swipe.js on the demo site. I don't think the HTML5 spec requires text/javascript though, so that's probably on Chrome.

Re:Swipe 2 is now live by teraflop on Monday March 11, 2013 @02:07PM (#5358544)
Chrome is working as intended: http://crbug.com/180007

Github serves pages from 'raw.github.com' with an "X-Content-Type-Options: nosniff" header, which specifically disallows browsers from trying to second-guess MIME types. FWIW, IE has supported this header for years, and Firefox is probably going to be adding it soon as well. So if you're serving your .js files with the wrong content type, they're going to break for more and more users as time goes on.