25 lines
717 B
Plaintext
25 lines
717 B
Plaintext
#= require jquery
|
|
#= require jquery_ujs
|
|
#= require ../app/application
|
|
#= require faye
|
|
#= require foundation/foundation
|
|
#= require foundation/foundation.offcanvas
|
|
#= require moment
|
|
#= require jquery.ui.datepicker
|
|
#= require translations
|
|
#= require js-routes
|
|
#= require_directory .
|
|
#= require_self
|
|
(($) ->
|
|
origAppend = $.fn.append
|
|
$.fn.append = -> origAppend.apply(@, arguments).trigger("append")
|
|
)(jQuery)
|
|
@Qstorage = localStorage
|
|
|
|
$.extend($translations.en, <%= I18n.t('user', locale: :en).to_json %>);
|
|
$.extend($translations.nl, <%= I18n.t('user', locale: :nl).to_json %>);
|
|
$(document).foundation()
|
|
setLocale()
|
|
$ ->
|
|
$('.main-section').css 'min-height', ($(window).height() - $('.tab-bar:first').outerHeight())
|