Prinzhorn/skrollr-menu — pull request #55 by charlesbaynham (2014-08-19 15:48:47+00:00)
Title: Accept nonstandard links

Issue
---
Currently skrollr-menu will not animate / deal with any hashlinks to the current page unless they are expressed with `href='#xxx'`. This means that absolute links to the current page with hash-links will fail when clicked from that page.

Example
---
The menu of a site has a link with `href='/#mysection'`. This will fail because the preceding `/` causes skrollr-menu not to parse it, even though it should be considered a valid link.

Changes
---
This commit addresses this by including a function to check if a link points to the current page, and also supports any GET parameters that a clicked hash-link may have.