You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# This is a manifest file that'll be compiled into including all the files listed below.
|
|
|
|
# Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
|
|
|
# be included in the compiled file accessible from http:#example.com/assets/application.js
|
|
|
|
# It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
|
|
# the compiled file.
|
|
|
|
#
|
|
|
|
#= require jquery
|
|
|
|
#= require jquery-ui
|
|
|
|
#= require jquery_ujs
|
|
|
|
#= require jquery.pjax
|
|
|
|
#= require pjax/page_triggers
|
|
|
|
#= require active_scaffold
|
|
|
|
#= require slides
|
|
|
|
#= require twitter/bootstrap
|
|
|
|
#= require_self
|
|
|
|
|
|
|
|
$ ->
|
|
|
|
$('[rel=popover]').popover()
|
|
|
|
$('[rel=tooltip]').tooltip()
|
|
|
|
|
|
|
|
$('.pjax-nav a:not([data-remote]):not([data-behavior]):not([data-skip-pjax])').pjax('[data-pjax-container]')
|
|
|
|
|
|
|
|
$(document).on 'pjax:success', (event, data, status, xhr, options) ->
|
|
|
|
$('ul.pjax-nav').find('li.active').removeClass 'active'
|
|
|
|
$("ul.pjax-nav a[href=\"#{window.location.pathname}\"]").parents('li').addClass 'active'
|