Sha256: e262dac79a0f5c024145b5340c955529ddb0a7bb516063133d08ecca23052d57

Contents?: true

Size: 1.35 KB

Versions: 8

Compression:

Stored size: 1.35 KB

Contents

#= require jquery
#= require jquery_ujs
#= require jquery-ui/effect
#= require jquery-ui/effect-highlight
#= require jquery-ui/datepicker
#= require jquery-ui/autocomplete
#= require jquery-ui/sortable
#= require jquery-ui/draggable
#= require jquery-fileupload/basic
#= require bootstrap
#= require select2
#= require moment
#= require local_time
#= require bootstrap-datetimepicker
#= require virgo/lib
#= require tinymce/manifest
#= require virgo/common
#= require virgo/admin
#= require virgo/components
#= require virgo/posts
#= require virgo/page_modules
#= require_self

$ ->
  $('.select2-anchor').select2()
  $("[data-toggle='tooltip']").tooltip()

  EllipseFix.run()
  ImageWrapper.run()
  ResponsiveEmbed.run()

  $('#menu-toggle').click (e) ->
    e.preventDefault()
    $('#wrapper').toggleClass('toggled')

  $('a.cancel-events').click (e) -> e.preventDefault()

  $('body').addClass("browser-#{$.browser.name}")


  # uncomment to force modal to continue to appear (after first dismissal) in dev/staging environments
  # if window.app_env == "staging" or window.app_env == "development"
  #   $.cookie("viewedOuibounceModal", false)

  # initialize ouibounce modal
  ouibounce($('#ouibounce-modal')[0], {cookieExpire: 7})

  $('#ouibounce-modal .js-close-modal, #ouibounce-modal .underlay').click (e) ->
    e.preventDefault()
    $('#ouibounce-modal').fadeOut(200)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
virgo-0.3.1 app/assets/javascripts/virgo/application.coffee
virgo-0.3 app/assets/javascripts/virgo/application.coffee
virgo-0.2.9 app/assets/javascripts/virgo/application.coffee
virgo-0.2.8 app/assets/javascripts/virgo/application.coffee
virgo-0.2.7 app/assets/javascripts/virgo/application.coffee
virgo-0.2.6 app/assets/javascripts/virgo/application.coffee
virgo-0.2.5 app/assets/javascripts/virgo/application.coffee
virgo-0.2.4 app/assets/javascripts/virgo/application.coffee