amatsuda/kaminari — pull request #177 by webmat (2011-11-04 19:21:19+00:00)
Title: Let one override the rel= attribute

Hey Akira,

In one of my projects, I had to override the value of rel= attribute. Feel free to pull :-)

Here's the scenario where I had to do this:

I wanted to use the in-page "load more" pattern with jQuery Mobile.

Long story short, the only way I found to prevent jQM from handling the link was to have rel="external" on it (event.stopImmediatePropagation() didn't work).

So this is not exactly semantic, but I figure it may come in handy to other people who want to override rel="next".

Comes with beefed up specs.

Cheers,

Mat