Skip to content

Instantly share code, notes, and snippets.

@dperrymorrow
Created July 13, 2012 19:01
Show Gist options
  • Save dperrymorrow/3106706 to your computer and use it in GitHub Desktop.
Save dperrymorrow/3106706 to your computer and use it in GitHub Desktop.
switch out your stylesheets
$("*[rel='stylesheet']").each(function() {
var href = $(this).attr("href");
$(this).attr("href", "http://localhost:3000" + href);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment