igor-alexandrov / wiselinks

If Turbolinks are not enough for you. Wiselinks makes your application work faster.
MIT License
723 stars 89 forks source link

enable only specific links for wiselinks #58

Open remon opened 10 years ago

remon commented 10 years ago

in pjax you can specify which links you need to use pjax on and the container I have a big site powered by pjax I can't override all links to add data-push to it

igor-alexandrov commented 10 years ago

Hello @remon, can you show an example how it is done in Pjax?

remon commented 10 years ago

$("a.not(.class)".pjax("[data-pjax-container]");