HomePhabricator

jquery.tipsy: Unbreak the 'live' option for now

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

jquery.tipsy: Unbreak the 'live' option for now

It used jQuery.fn.live, which stopped existing when we removed jQuery
Migrate (c393f874). This patch basically reimplements it.

Both .context and .selector properties used here are deprecated and
will be removed in the future, so we should come up with a better
solution at some point (or intentionally disallow using this option,
rather than breaking it by accident). For now, re-added the tracking
and logging, like what jQuery Migrate provided.

https://api.jquery.com/context/
https://api.jquery.com/selector/

Bug: T69989
Change-Id: Ib1a908dc60ca23c354fb05484d9b00cf54a05ebe
(cherry picked from commit aa524075ac734fbf584bb9ff69fa10ec2883df20)

Details

Provenance
matmarexAuthored on
Mattflaschen-WMFCommitted on Dec 20 2014, 2:25 AM
ChangeId
Ib1a908dc60ca23c354fb05484d9b00cf54a05ebe

Commit No Longer Exists

This commit no longer exists in the repository.