Skip to content

jQuery plugin for Backbone that implements Hijax routing. Allows us to find any links that start with '/' and intercept them and add a '#' to the beginning. This prevents the page from reloading.

Notifications You must be signed in to change notification settings

michael-lawrence/jquery.backbone.hijax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

#jquery.backbone.hijax

jQuery plugin for Backbone that implements Hijax routing. Allows us to find any links that start with '/' and intercept them and add a '#' to the beginning. This prevents the page from reloading.


###Usage

var router = Backbone.Router.extend({
    'routes': {
        'home' : 'home',
        'about' : 'about'
    },

    'home' : function () {
        ...
    },

    'about' : function () {
        ...
    }
});

$.backboneHijax(router);

Bower installation

bower install jquery.backbone.hijax

About

jQuery plugin for Backbone that implements Hijax routing. Allows us to find any links that start with '/' and intercept them and add a '#' to the beginning. This prevents the page from reloading.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published