Sha256: 23f114630e3203c7b1d749f95b1d751e56c74cbea6cfcbed7bc3b7e6917fbb29

Contents?: true

Size: 484 Bytes

Versions: 3

Compression:

Stored size: 484 Bytes

Contents

#= require tramway/core/application
#= require_tree .

$(document).ready ->
  $('.header-buttons').click ->
    anchor = $(this).data('anchor')
    $(window).scrollTop $(anchor).offset().top

  iframe_selectors_for_video = ['iframe[src*="vk.com"]', 'iframe[src*="youtu.be"]']
  for selector in iframe_selectors_for_video
    $(selector).each ->
      width = $(this).parents('div').first().width()
      height = width / 16 * 9
      $(this).width(width)
      $(this).height(height)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tramway-landing-1.8.2.8 app/assets/javascripts/tramway/landing/application.js.coffee
tramway-landing-1.8.2.7 app/assets/javascripts/tramway/landing/application.js.coffee
tramway-landing-1.8.2.6 app/assets/javascripts/tramway/landing/application.js.coffee