Added some documentation to new pjax attribute

This commit is contained in:
Christophe BOULAIN
2014-03-04 13:45:36 +01:00
parent 3daa177ea2
commit 078fdab686
2 changed files with 4 additions and 0 deletions

View File

@@ -44,6 +44,8 @@
// event - "click" jQuery.Event
// options - pjax options
//
// If the click event target has 'data-pjax="0"' attribute, the event is ignored, and no pjax call is made.
//
// Examples
//
// $(document).on('click', 'a', $.pjax.click)