Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

replaced jQuery 1.7 on() call with standard bind() #1312

Closed
wants to merge 1 commit into from

Conversation

avs099
Copy link

@avs099 avs099 commented Apr 13, 2015

on() is supported from jQuery 1.7 only and FlexSlider declares jQuery 1.3+ support. Fixing this by replacing on() call with standard bind() one - which is used all over the project anyway.

on() is supported from jQuery 1.7 only (https://api.jquery.com/category/version/1.7/#post-461) and FlexSlider declares jQuery 1.3+ support.
@jeffikus jeffikus self-assigned this Apr 14, 2015
@jeffikus jeffikus added this to the 2.5.0 milestone Apr 14, 2015
@jeffikus
Copy link
Contributor

Further reading as to why on() is better http://www.elijahmanor.com/differences-between-jquery-bind-vs-live-vs-delegate-vs-on/

@jeffikus jeffikus closed this May 21, 2015
floq-design added a commit to floq-design/FlexSlider that referenced this pull request Aug 5, 2015
* commit '8ed61acca0a1c1f1242ebb0cdb8291be6d4a0d91':
  Closes woocommerce#843 - adds npm components and package json for registry with npm. Watch for new 2.5.0 tag before using.
  Closes woocommerce#843 - adds bower components and bower json for registry with bower. Watch for new 2.5.0 tag before using.
  Closes woocommerce#819 - Adds caption demo file
  Closes woocommerce#1321 - adds license file GPLv2 and later
  Merge changes between demo site on svn and git repo.
  Closes woocommerce#1143 - adds customDirectionNav param, fixes demo's and adds new demo for custom direction navigation controls. Updates changelog and readme.
  Updates changelog, readme, bumps support for jQuery 1.4.2 to 1.7+ Closes woocommerce#1312
  Closes woocommerce#1293 - CSS fix for pausePlay play icon.
  Working branch pushed to GitHub. Version updated.
  Fixes woocommerce#958. Declare onTouchStart, onTouchEnd, onTouchMove as function expressions.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants