Sha256: e7bb8f2dacea4fb758a8a403f43d801bafcafaab8094781f151c079ad69a90f1

Contents?: true

Size: 606 Bytes

Versions: 7

Compression:

Stored size: 606 Bytes

Contents

I"R(function() {
  $(document).on('click', '.gallery .item', function() {
    var checkbox, gallery;
    gallery = $(this).parents('.gallery');
    if (gallery.data('multiselect') !== void 0) {
      $(this).toggleClass('selected');
      checkbox = $(this).find('input:checkbox');
      return checkbox.prop("checked", !checkbox.prop("checked"));
    } else {
      gallery.find('.item').removeClass('selected');
      gallery.find('.item input').prop('checked', false);
      $(this).toggleClass('selected');
      return $(this).find('input').prop('checked', true);
    }
  });

}).call(this);
:ET

Version data entries

7 entries across 5 versions & 1 rubygems

Version Path
spina-0.6.29 test/dummy/tmp/cache/assets/development/sprockets/v3.0/9-WICQyk-zbP8lZbMTGdxi-oV7QugrzIW8OTwXn6fqw.cache
spina-0.6.29 test/dummy/tmp/cache/assets/test/sprockets/v3.0/DVS4fDzAAtFcFg61DC0YSyBoP7t7d5R03MNpxR3vLsk.cache
spina-0.6.29 test/dummy/tmp/cache/assets/development/sprockets/v3.0/DVS4fDzAAtFcFg61DC0YSyBoP7t7d5R03MNpxR3vLsk.cache
spina-0.6.28 test/dummy/tmp/cache/assets/development/sprockets/v3.0/9-WICQyk-zbP8lZbMTGdxi-oV7QugrzIW8OTwXn6fqw.cache
spina-0.6.27 test/dummy/tmp/cache/assets/development/sprockets/v3.0/9-WICQyk-zbP8lZbMTGdxi-oV7QugrzIW8OTwXn6fqw.cache
spina-0.6.26 test/dummy/tmp/cache/assets/development/sprockets/v3.0/9-WICQyk-zbP8lZbMTGdxi-oV7QugrzIW8OTwXn6fqw.cache
spina-0.6.25 test/dummy/tmp/cache/assets/development/sprockets/v3.0/9-WICQyk-zbP8lZbMTGdxi-oV7QugrzIW8OTwXn6fqw.cache