Skip to content

Instantly share code, notes, and snippets.

@bdotdub
Created December 9, 2008 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdotdub/34078 to your computer and use it in GitHub Desktop.
Save bdotdub/34078 to your computer and use it in GitHub Desktop.
Matching 'swf' at the end of line to avoid detecting it in the base paths
497c497
< if (smURL.match(/.swf/)) {
---
> if (smURL.match(/.swf$/)) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment