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

Conversation

Projects
None yet
2 participants
@thybag
Owner

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

thybag added some commits Jan 26, 2014

Reorder handle, so attach event runs in correct page scope
* Fixes in page links detecting incorrect page and ignoring links that require handling
* Bump version
Return shell object if none pushstate browser detected, rather than p…
…arsing and running entire library with checks for compatibility each time.

make additional information available via events
Make auto analytics tracking optional (don't track none history pages)
Also: Fix spellings in comments + update demo
Fix buggy titles & enable scroll to top on new page loads
* 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
Pretty up demo site
* 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

@sagotch

This comment has been minimized.

Show comment
Hide comment
@sagotch

sagotch Apr 7, 2014

Missing 'a' in PJAX-Standlone :)

sagotch commented on test/index.php in c9b6eda Apr 7, 2014

Missing 'a' in PJAX-Standlone :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment