Sha256: 84dc82c47f59ed3b47279727c5dbe0a6c0636d4269e815ca44615a7f99cb9b03

Contents?: true

Size: 279 Bytes

Versions: 14

Compression:

Stored size: 279 Bytes

Contents

$(function() {
  $(".checkbox input").click(function() {
    var checkbox = $(this);
    if (checkbox.data("hideable"))
      $("." + checkbox.data("class")).toggleClass("hide");
    else
      $("." + checkbox.data("class")).toggleClass(checkbox.data("toggle-class"));
  });
});

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
blocks-4.0.1 docs/javascripts/demos/hooks_and_wrappers.js
blocks-4.0.0 docs/javascripts/demos/hooks_and_wrappers.js
blocks-4.0.0.rc2 docs/javascripts/demos/hooks_and_wrappers.js
blocks-4.0.0.rc1 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.4 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.3 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.2 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.1 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.0 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.0.rc9 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.0.rc8 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.0.rc7 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.0.rc6 docs/javascripts/demos/hooks_and_wrappers.js
blocks-3.0.0.rc5 docs/javascripts/demos/hooks_and_wrappers.js