Sha256: e37f8969b0ac7c74d709f1f8ed28f178558922922db11c5d8c2e0c4c97c845d0

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

import "../../../../fonts/fontawesome.js"
import "../../../../fonts/regular.js"
import pbChart from "../plugins/pb_chart_plugin.js"
import "./main.scss"
import "./kits.js"

window.pbChart = pbChart

// 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

1 entries across 1 versions & 1 rubygems

Version Path
playbook_ui-2.8.6 app/pb_kits/playbook/packs/application.js