JS Reverse

Implemented JS Reverse

How to use
=========

Wrap all your Ajax Requests

        $.ajax({url, .... }) or $.get(url, ...) or $.post(url, ...) etc 


into this


        reverse('librehatti.catalog.views.index', function(data) {
            $ajax({data, ..... });
        });

Reverse decodes 'librehatti.catalog.views.index' == > /catalog/index/ and puts it in data var which then can be used in AJAX Requests.