Sha256: c8f660f0cbb6950567850c271bceabb9212edb3845be12da353724af8f78dffa

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

var DependencySwitcher = (function(self) {
  self.switchBind = function() {
    $('.js-dependency-switch', '.js-dependencies-container').change(function() {
      $('.js-all-dependencies', '.js-dependencies-container').toggle();
      $('.js-dependencies', '.js-dependencies-container').toggle();
    });
  };

  return self;
})(DependencySwitcher || {});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apress-documentation-0.4.0 app/assets/javascripts/shared/dependency_switcher.js