<commit_before># Changelog

## 2.1.0 - (unreleased)

- pat-gallery: add option ``item-selector`` for gallery items, which are added to the gallery.
  Defaults to ``a``.
  Fixes situations, when gallery items and normal links are mixed within the same container and normal links would open within the gallery lightbox.
- Update to jQuery 1.11.3.
- While images are loading, already do masonry layouting.
- Remove the ``clear-imagesloaded-cache`` trigger, as cache functionality was removed from imagesloaded from version 3.2.0.
  See: https://github.com/desandro/imagesloaded/issues/103#issuecomment-152152568
- Change ``imagesloaded`` from usage of jQuery plugin to vanilla JavaScript to avoid timing errors, where the ``imagesloaded`` plugin wasn't available.
- Update ``masonry`` and ``imagesloaded`` plugins.
- Fix ``pat-gallery`` to work with ``requirejs-text`` instead ``requirejs-tpl-jcbrand``.
  Fixes an obscure "window undefined" error.
  Backwards incompatible change: The ``photoswipe-template`` RequireJS configuration variable is removed and a the ``pat-gallery-url`` variable is defined instead.
- always recalculate masonry also at the very end, even if there are no images to be loaded
- Fix a bug in pat-scroll that would only properly leave nav items alone if their urls end in a slash

## 2.0.14 - Aug. 15, 2016

- A fix for pat-scroll to scroll up to current scroll container instead of body. 
- A fix for pat-scroll to await loading of all images before determining the amount to scroll up.
- A fix for IE10/11 where the modal wouldn`t close anymore due to activeElement being undefined
- Allow to configure different data-pat-inject per formaction, so that different targets can be configured per formaction

## 2.0.13 - Apr. 27, 2016

- New property for sortable pattern, `drag-class`, the CSS class to apply to item being dragged. Is `"dragged"` by default.
- New property for sortable pattern, `drop`, a Javascript callback function to be called when an item is dropped.
- Form with pat-autosubmit doesn't get notified when injected inputs change.<commit_msg>update log<commit_after># Changelog

## 2.1.0 - (unreleased)

- pat-gallery: add option ``item-selector`` for gallery items, which are added to the gallery.
  Defaults to ``a``.
  Fixes situations, when gallery items and normal links are mixed within the same container and normal links would open within the gallery lightbox.
- Update to jQuery 1.11.3.
- While images are loading, already do masonry layouting.
- Remove the ``clear-imagesloaded-cache`` trigger, as cache functionality was removed from imagesloaded from version 3.2.0.
  See: https://github.com/desandro/imagesloaded/issues/103#issuecomment-152152568
- Change ``imagesloaded`` from usage of jQuery plugin to vanilla JavaScript to avoid timing errors, where the ``imagesloaded`` plugin wasn't available.
- Update ``masonry`` and ``imagesloaded`` plugins.
- Fix ``pat-gallery`` to work with ``requirejs-text`` instead ``requirejs-tpl-jcbrand``.
  Fixes an obscure "window undefined" error.
  Backwards incompatible change: The ``photoswipe-template`` RequireJS configuration variable is removed and a the ``pat-gallery-url`` variable is defined instead.
- always recalculate masonry also at the very end, even if there are no images to be loaded
- Fix a bug in pat-scroll that would only properly leave nav items alone if their urls end in a slash
- An href can also contain a url left of the hashmark. pat-scroll should only care for the part right of the hashmark

## 2.0.14 - Aug. 15, 2016

- A fix for pat-scroll to scroll up to current scroll container instead of body. 
- A fix for pat-scroll to await loading of all images before determining the amount to scroll up.
- A fix for IE10/11 where the modal wouldn`t close anymore due to activeElement being undefined
- Allow to configure different data-pat-inject per formaction, so that different targets can be configured per formaction

## 2.0.13 - Apr. 27, 2016

- New property for sortable pattern, `drag-class`, the CSS class to apply to item being dragged. Is `"dragged"` by default.
- New property for sortable pattern, `drop`, a Javascript callback function to be called when an item is dropped.
- Form with pat-autosubmit doesn't get notified when injected inputs change.
{'fraction_non_alphanumeric': 0.07821620359561056, 'fraction_numerical': 0.021480270838197525, 'mean_word_length': 4.237163814180929, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1811105', 'n_tokens_mistral': 1200, 'n_tokens_neox': 1105, 'n_words': 586}