aca9c8e4d87ccc8e7d3b74325ad0c9a2052122b2 |
|
18-Feb-2012 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Added `navigateOnHash` attribute to PjaxBase.
This allow Pjax to be configured to fire its `navigate` event when the
new URL being navigated to only differs from the current URL by its hash. |
cc3088205ad2662fa0a701d8d680747e9eaef190 |
|
15-Feb-2012 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Prevent non-HTML5 browsers from doing the pjax tests. |
8b8817187a09d276a5807c8236dd5a8bcd558c44 |
|
15-Feb-2012 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Pjax now handles <a href="#in-page"> links properly, like a browser. |
875f22267ccb5e3932a19d6c883ab5f998cce986 |
|
31-Jan-2012 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Makes sure the "pjax=1" query param is inserted before any hash. |
966da8f301a2247df62862717f672f40644a2093 |
|
27-Jan-2012 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Added more Pjax unit tests to increase line coverage. |
5c18c84bb57ad5d48f9701627052f25abd4629c1 |
|
09-Jan-2012 |
Ryan Grove <ryan@wonko.com> |
Add an `addPjaxParam` attr to work around browser cache collisions.
When true (the default), Pjax will add a "pjax=1" param to the URL to
ensure that Pjax responses are cached separately from full page
responses. |
26d2a8d9b56e2749f94b66102d5475362dff41e1 |
|
09-Jan-2012 |
Ryan Grove <ryan@wonko.com> |
Add a `url` property to the event facade of 'load' and 'error' events. |
2b2dc8d7d1059fe603bbc8f18027488c98023a65 |
|
09-Dec-2011 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Fixed Pjax's unit tests where it checks for Yeti. |
cf70acd7f25475480a11b203f31763a015699aa8 |
|
08-Dec-2011 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Yeti will now ignore the Pjax test which intentionally creates a 404.
There doesn't appear to be a way catch these errors, maybe they are
thrown from the great depths of the browser's HTTP engine? |
02bda6014be6fe166ab633fb5715a75170592217 |
|
06-Dec-2011 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Tweaked the Pjax unit tests a bit. |
275580404521e3e60b59db432703ba1fd9a6becb |
|
30-Nov-2011 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Fixed Pjax tests by ignoring tests which require an HTML5 browser. |
ada82c4ef0c7cb8d4f382c1831121f433025f5e5 |
|
29-Nov-2011 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Major revamp of PjaxBase and its navigation features. Also API docs.
This is pretty much a re-write of PjaxBase to be more aligned with the
way we want navigation and URLs to be handled as outlined by this:
https://gist.github.com/1386827
PjaxBase is now fully API documented, complete with code-comments. There
is also some minor updates to the unit tests. |
f76bbd073ad690e1823bb6b89461a961511ed0f8 |
|
28-Nov-2011 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Major revamp of PjaxBase and its navigation features. Also API docs.
This is pretty much a re-write of PjaxBase to be more aligned with the
way we want navigation and URLs to be handled as outlined by this:
https://gist.github.com/1386827
PjaxBase is now fully API documented, complete with code-comments. There
is also some minor updates to the unit tests. |
b5390ca8d67763a8c17c8dd688695774fb89826b |
|
14-Nov-2011 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
PjaxBase now resolves URLs correctly by using the current root path.
Browsers always resolve URLs against the current value of
`window.location.pathname` and so should PjaxBase.
Updated Pjax tests to restore the URL after completing each test.
Manual tests were updated to be correctly select the new contented that
was loaded by Pjax. |
e86e0d8d1dd6334c2b9e74cafcf94072c0194add |
|
18-Oct-2011 |
Ryan Grove <ryan@wonko.com> |
Rename Controller to Router.
Y.Controller is now an alias for Y.Router (ditto the controller module),
but this alias will be removed in a future version of YUI. |
1062717e23acfa772a49fb14c7c2eb649f6c8654 |
|
18-Oct-2011 |
Ryan Grove <ryan@wonko.com> |
Update Pjax to deal with Controller changes. |
185a8a16165e016337904edb82148c1605a046f4 |
|
11-Oct-2011 |
Ryan Grove <ryan@wonko.com> |
Fix bogus test failure in IE. |
dddcee22f2bdaa26a98ad09656033c32582a3dcf |
|
10-Oct-2011 |
Eric Ferraiuolo <eferraiuolo@gmail.com> |
Renamed Pjax's `load()` method to `navigate()` which fires `navigate`.
Pjax's `load()` method was replaced with a `navigate(url, options)`
method and when called will fire the `navigate` event. "Navigate" is a
higher-level concept than "load" and more accurately applies to Pjax's
role.
The Pjax tests have also been updated to reflect this change. |
5c4be14430d3cf06e67f48d6b8397eb0804b5b3a |
|
30-Sep-2011 |
Ryan Grove <ryan@wonko.com> |
Refactor Pjax into pjax-base, pjax, and pjax-plugin modules.
PjaxBase is meant to be a mixin for Controller. Pjax extends Controller
and mixes in PjaxBase to provide a usable Pjax implementation.
Plugin.Pjax extends Pjax and can be plugged into a Node instance. |
3f0fea903a32b9d6076b78d7c2d8d451fa2cf525 |
|
28-Sep-2011 |
Ryan Grove <ryan@wonko.com> |
Fix Pjax test failures in non-HTML5 browsers. |
2c009c63cb81de4a8afcf5ad48fd91102b11bff4 |
|
21-Sep-2011 |
Ryan Grove <ryan@wonko.com> |
Split pjax into "pjax" and "pjax-plugin" modules.
Y.Pjax has all the functionality, but isn't a Node plugin so it doesn't
actually do anything with Ajax responses. Y.Plugin.Pjax injects the
response content into the host node and updates the page title. |
d54d5f031b212b560ff1ce52c10079cefc92b8a4 |
|
21-Sep-2011 |
Ryan Grove <ryan@wonko.com> |
Make `linkSelector` initOnly and add more tests. |
9d33ba3ba3784734226f6b4cc364589058e5ca21 |
|
20-Sep-2011 |
Ryan Grove <ryan@wonko.com> |
Pjax tests. Mostly there, but still a few more to write. |