#= 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 textile-js
#= 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 %>);
setLocale()
