Skip to content

Instantly share code, notes, and snippets.

View luebbert42's full-sized avatar

Dorthe Luebbert luebbert42

  • Cologne, Germany
View GitHub Profile
*******HEADER*******
<script src="app.hronlinemanager.com/js/gehaltsreporter/jquery-ui/jquery-ui.js"></script>
<script src="app.hronlinemanager.com/js/gehaltsreporter/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="app.hronlinemanager.com/js/gehaltsreporter/jquery.gehaltsreporter.js"></script>
<script src="app.hronlinemanager.com/js/jquery.number.min.js"></script>
*******BODY*******
@luebbert42
luebbert42 / LinksRejectJs2014.md
Last active August 29, 2015 14:06
Linkschleuder RejectJS, Berlin, 2014
# http://marvelley.com/2012/12/20/symfony2-json-responses-for-xhr-errors-and-authentication-failures/
parameters:
acme.demo.xhr_core_exception_listener.class: Acme\DemoBundle\Listener\XHRCoreExceptionListener
acme.demo.xhr_authentication_success_handler.class: Acme\DemoBundle\Handler\XHRAuthenticationSuccessHandler
acme.demo.xhr_authentication_failure_handler.class: Acme\DemoBundle\Handler\XHRAuthenticationFailureHandler
options:
services:
acme.demo.xhr_core_exception_listener:
class: "%acme.demo.xhr_core_exception_listener.class%"