Sha256: 4af47980d94101bdaf9f89ce992529d44bb341468ace30b8d811dfa59dd778a2

Contents?: true

Size: 469 Bytes

Versions: 6

Compression:

Stored size: 469 Bytes

Contents

import "../../../../fonts/fontawesome.js"
import "../../../../fonts/regular.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

6 entries across 6 versions & 1 rubygems

Version Path
playbook_ui-2.9.2 app/pb_kits/playbook/packs/application.js
playbook_ui-2.9.1 app/pb_kits/playbook/packs/application.js
playbook_ui-2.9.0 app/pb_kits/playbook/packs/application.js
playbook_ui-2.8.9 app/pb_kits/playbook/packs/application.js
playbook_ui-2.8.8 app/pb_kits/playbook/packs/application.js
playbook_ui-2.8.7 app/pb_kits/playbook/packs/application.js