Sha256: 9c309dc3caac9361318269c6b1d7b12bd97a0136304e96661f01c7e8d0293346

Contents?: true

Size: 500 Bytes

Versions: 4

Compression:

Stored size: 500 Bytes

Contents

import "../../../../fonts/fontawesome.js";
import "../../../../fonts/regular.js";
import "../pb_dashboard/pbChartPlugin.js";
import "./main.scss";
import "./kits.js";

// Move to separate file
$(document).on("click", "[data-toggle]", function(e) {
  e.preventDefault();
  var kit_container = $(this).closest('.pb--doc');
  var toggle_target = $(this).data('toggle');
  $(kit_container).find('[data-action="toggle"]').hide();
  $(kit_container).find('[data-togglable="'+toggle_target+'"]').show();
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
playbook_ui-2.8.5 app/pb_kits/playbook/packs/application.js
playbook_ui-2.8.4 app/pb_kits/playbook/packs/application.js
playbook_ui-2.8.3 app/pb_kits/playbook/packs/application.js
playbook_ui-2.8.1 app/pb_kits/playbook/packs/application.js