Skip to content

Instantly share code, notes, and snippets.

@natecavanaugh
Created September 1, 2011 17:52
Show Gist options
  • Save natecavanaugh/1186775 to your computer and use it in GitHub Desktop.
Save natecavanaugh/1186775 to your computer and use it in GitHub Desktop.
filter options
{
replaceStr: function(match, fragment, string) {
return fragment + 'm=' + (match.split('<%= javaScriptRootPath %>')[1] || '');
},
searchExp: '(\\?|&)/([^&]+)'
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment