<%= header %>
<%= boomerangScript %>
<script src="support/function-bind-polyfill.js" type="text/javascript"></script>

<script type="text/javascript">
// wait long enough for XHRs to come back
window.imgs = [1000];
</script>

<div id="root"></div>

<script src="/test-templates/spa/18-autoxhr-before-page-load-alwayssendxhr.js" type="text/javascript"></script>
<script src="18-autoxhr-before-page-load-alwayssendxhr.js" type="text/javascript"></script>

<script>
BOOMR_test.init({
	testAfterOnBeacon: BOOMR.plugins.AutoXHR ? 3 : 1,
	History: {
		enabled: true
	},
	AutoXHR: {
		alwaysSendXhr: true
	},
	instrument_xhr: true,
	autorun: false
});
</script>

<script src="support/app.js"></script>

<%= footer %>


