Sha256: 9bfbf75c11c6852e0a1f227bbeed0316c267ed5ccaf2859c024cf52126f96b76

Contents?: true

Size: 478 Bytes

Versions: 9

Compression:

Stored size: 478 Bytes

Contents

import "../../../../fonts/fontawesome.min.js"
import "../../../../fonts/regular.min.js"
import "./main.scss"
import "./kits.js"
import "../vendor.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

9 entries across 9 versions & 1 rubygems

Version Path
playbook_ui-3.0.1 app/pb_kits/playbook/packs/application.js
playbook_ui-3.0.0 app/pb_kits/playbook/packs/application.js
playbook_ui-2.9.9 app/pb_kits/playbook/packs/application.js
playbook_ui-2.9.8 app/pb_kits/playbook/packs/application.js
playbook_ui-2.9.7 app/pb_kits/playbook/packs/application.js
playbook_ui-2.9.6 app/pb_kits/playbook/packs/application.js
playbook_ui-2.9.5 app/pb_kits/playbook/packs/application.js
playbook_ui-2.9.4 app/pb_kits/playbook/packs/application.js
playbook_ui-2.9.3 app/pb_kits/playbook/packs/application.js