Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0a56091
replace title cross-browser on ajax update
darksmo Jul 2, 2013
95659ab
trigger event once all markup is replaced
darksmo Jul 2, 2013
f54cf00
use $.ajax call instead of $.get call
darksmo Jul 2, 2013
58f03a0
append new block to previous block if no parent
darksmo Jul 2, 2013
5f51431
namespace for click events
darksmo Jul 2, 2013
53871aa
code refactoring
darksmo Jul 2, 2013
f723ccb
update documentation
darksmo Jul 2, 2013
8e60ddf
rename variable for readability
darksmo Jul 2, 2013
605117d
add public navigate method
darksmo Jul 2, 2013
72d40fc
store djaxing status in globally
darksmo Jul 4, 2013
bceab47
fix examples syntax in readme.md
darksmo Jul 7, 2013
ff987de
handle user navigating quickly
darksmo Aug 19, 2013
c54ff6d
enable cross-domain requests on IE
darksmo Aug 19, 2013
d3588bb
some error handling
darksmo Aug 19, 2013
7baa40a
better naming and replacement logic
darksmo Aug 19, 2013
8a74fb1
get ajax settings from initialiization
darksmo Aug 19, 2013
fe58d2c
Merge branch 'master' of https://github.com/darksmo/djax
darksmo Aug 19, 2013
b6519f4
support blocking callback on djax click
darksmo Aug 19, 2013
d775945
deferred djax
darksmo Dec 3, 2013
43269fb
Support request method and parameters
Jan 29, 2014
146cc7c
Deal with the targetUrl header on errors
Jan 30, 2014
5d0ecdf
Wrap reponse to obtain all the descendants
Feb 5, 2014
dbb2521
Add ajax timeout time and callback to settings
Mar 18, 2014
e648c09
Merge pull request #1 from sbscully/master
darksmo Mar 18, 2014
56e4968
Update readme.md
darksmo Jun 24, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions example.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ jQuery('document').ready(function($) {

}

$('body').djax('.one-third', [], transition);
$('body').djax({
'selector' : '.one-third',
'exceptions' : [],
'replaceBlockFunction' : transition
});

$(window).bind('djaxLoad', function(e, params) {
console.log($('<div>'+params.response+'</div>'));
})
});
});
Loading