Created
February 26, 2013 10:47
-
-
Save littlepea/5037612 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// check if paths are in href | |
$('#nav a').ajaxlinks({ | |
ignore: ['.no-al', '.no-ajax', '#logo'], | |
ignore_paths: ['/accounts/', '/__debug__/'] | |
}); | |
// Or wildcard paths if it's not too hard to parse | |
$('#nav a').ajaxlinks({ | |
ignore: ['.no-al', '.no-ajax', '#logo'], | |
ignore_paths: ['*/accounts/*', '*/__debug__/'] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment