Skip to content
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

Roll to live (v0.6.0) #14

Merged
merged 24 commits into from Jan 30, 2014
Merged

Roll to live (v0.6.0) #14

merged 24 commits into from Jan 30, 2014

Conversation

thybag
Copy link
Owner

@thybag thybag commented Jan 28, 2014

New:

  • Auto Analytics is now optional & can be disabled via settings
  • Auto Analytics now supports Universal Analytics
  • Added excludeClass option (to exclude certain links from pjax loading)
  • Add returnToTop option to configure if pages loaded via pjax should return the browser scroll position back to the top.
  • Add "ready" event, fired on pjax load
  • PJAX options for page load made available via event.data in callbacks
  • Prettied up and improved test site (using bootstrap theme) + updated info

Bug fixes:

  • Fix handle running attach in incorrect page scope, resulting in some #hash urls being ignored when they shouldn't be
  • Fix control click not opening pjax links new window
  • Fix smartload titles being overwritten
  • Fix custom titles not displaying on back button
  • Fix pages not default scrolling to the top on load
  • Fix broken pages causing error in PJAX-Standalone code

Re-factoring;

  • none pushstate browser fall backs now operate in cleaner way (not mixed in with main code)
  • Lots of spelling corrections in comments
  • Comparisons now done directly rather than via type conversion == vs ===
  • Fix multiple jslint issues
  • Make parseOptions code more DRY
  • Improve readme docs

* Fixes in page links detecting incorrect page and ignoring links that require handling
* Bump version
…arsing and running entire library with checks for compatibility each time.

make additional information available via events
Also: Fix spellings in comments + update demo
* returnToTop option added to turn scolling page to top onload on/off
* pushstate stores titles as part of history objects.js
* title extractor doesn't run if smartload has already done this
* Use bootstrap theme (from CDN)
* Incorporate bootstrap elements
* Improve text & information
* Show off more features
thybag added a commit that referenced this pull request Jan 30, 2014
@thybag thybag merged commit 35ede2c into master Jan 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants