-
- Notifications
You must be signed in to change notification settings - Fork 40
Update from upstream #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Use pageYOffset over scrollY for IE9+ support
Fixes defunkt#329 [ci skip]
documented `false` as a allowed `scrollTo` value
When different pjax containers were used for pjax navigations, the popstate restoring mechanism would get confused as to in which container to restore some particular HTML. I tried to remedy this by reading the target container from `previousState` on "back" navigations, however this was subject to at least a couple of flaws: 1. It would break if `previousState` was done via replaceState, which replaces content in a container but doesn't add a history entry. 2. It doesn't handle the case where user jumps several steps of history stack (e.g. by holding the "Back" button pressed and choosing from the drop down menu). A more solid solution to knowing where to restore particular cached HTML is to save the information about the container that the HTML was saved from in the first place. This adds the container selector information to the cache, forming a pair with cached contents for each history entry.
Change internal cache struct to fix restoring mixed containers
on options.beforeSend check if there is a hash to prevent the extra # on URLs without hash
Instead of checking `location.hash == ""`, instead check that `#` isn't ocurring in `.href` property at all.
By parsing the URL beforehand, ensure that we never do a replacement in a component other than `url.search`.
[ci skip]
Remove moot `version` property from bower.json
This can be useful if using PJAX to reload the contents of a search page, for instance. See defunkt#377
Add blurFocus option to disable bluring the focus of existing elements.
Fix submit of form with input[name=action]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that this fixes #15
.travis.yml Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm... what is it for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that should not be in our fork...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we can drop it
Merged. |
No description provided.