Skip to content

Releases: manuelstofer/pinchzoom

2.3.5

28 Jul 13:58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.4...v2.3.5

2.3.4

13 May 17:04
Compare
Choose a tag to compare

Removed dist from source, if you need to access the dist files there are three options:

  • Access via NPM (this hasn't changed, i.e. it's not a breaking change)
  • Access via UNPKG
  • Build from the source

2.3.3

10 May 08:30
6dd69f1
Compare
Choose a tag to compare
  • Updated minified version.

2.3.2

30 Apr 09:01
Compare
Choose a tag to compare

Changes since last release:

  • Fix undefined is not an object error
  • Add typescript typings
  • Minified version
  • Added callback options for any event

2.3.0

04 Oct 12:32
Compare
Choose a tag to compare

Changes since last release:

  • change const keyword to var (#69)
  • Offset and size fixes (related to events) (#67)

2.2.0

19 Apr 12:30
Compare
Choose a tag to compare
  • Bug fixes (#62 and #60)
  • Add dist (compiled output) to git repo

2.1.0

19 Apr 12:26
Compare
Choose a tag to compare

A bunch of bug fixes.

See #52, #47, #55, #57

2.0.0

17 Aug 16:52
Compare
Choose a tag to compare

jQuery is no longer a dependency (breaking)

// OLD
new PinchZoom($('#my-id'), options); 

// NEW
new PinchZoom(document.querySelector('#my-id')), options);

RTP namespace is removed (breaking)

// OLD
new RTP.PinchZoom(myEl, options); 

// NEW
new PinchZoom(myEl, options);

To make it available under the old namespace, use this snippet:

if (!window.RTP) { window.RTP = {}; }
window.RTP.PinchZoom = window.PinchZoom;