This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- for using mocked data while testing --> | |
<script type="text/javascript" src="../test/lib/angular/angular-mocks.js"></script> | |
<script type="text/javascript" src="../test/e2e/mocks.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- for using mocked data while testing --> | |
<script type="text/javascript" src="../test/lib/angular/angular-mocks.js"></script> | |
<script type="text/javascript" src="../test/e2e/mocks.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ends up at 127.0.0.1:8080 | |
location /bla/ { | |
rewrite ^/bla/(.*) $1 break; | |
proxy_pass http://127.0.0.1:8080/; | |
} | |
# doesnt end up at 127.0.0.1:8080/woo | |
location /bla/ { | |
rewrite ^/bla/(.*) $1 break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.0/jquery-1.8.0.min.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
function doCall(){ | |
$.get('foo').error(function(){ | |
parent.afterCall(); | |
}); |
NewerOlder