Sha256: 8e4bba1f30e71f507cb3dd09d64badad93eb963bfda464289e5add4d17cbb796

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

$ ->
  
  $('a[rel=popover]').popover()
  $('.tooltip').tooltip()
  $('a[rel=tooltip]').tooltip()
  
  $('[rel="tooltip"]').each ->
    $el = $(@)
    placement = $el.attr('data-tooltip-placement') || 'bottom'
    $el.tooltip
      placement: placement
  
  $('.project-banner').affix(offset: {top: 70})
  
  $('body').on 'click', '[rel="ticket"]', (e)->
    return if $(e.target).closest('a').length > 0
    
    $link = $(@)
    number = +$link.attr('data-number')
    project = $link.attr('data-project')
    $context = $link.closest('#tickets')
    e.preventDefault() if App.showTicket(number, project, $context: $context)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
houston-core-0.5.0.beta1 app/assets/javascripts/app/boot.coffee