This file contains 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
<script> | |
(function() { | |
//set gaCrumb default | |
//create gaCrumb from breadcrumb | |
gaCrumb = '(not set)'; | |
var gaCrumbPrep = []; | |
if ($('.breadcrumb').length > 0) { | |
$('.breadcrumb a').each(function() { | |
var crumbText = $(this).text(); | |
if (crumbText.toLowerCase() !== 'home') { |
This file contains 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
/*! | |
* jQuery.hasClasses plugin | |
* | |
* Check if an element has ALL classes | |
* or ANY of a number of classes | |
* | |
* usage: | |
* $('#el-id').hasClasses('foo || bar') <- has EITHER 'foo' or 'bar' | |
* $('#el-id').hasClasses('|| foo bar') <- has EITHER 'foo' or 'bar' | |
* $('#el-id').hasClasses('any: foo bar') <- has EITHER 'foo' or 'bar' |
This file contains 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
<ifModule mod_rewrite.c> | |
Options +FollowSymLinks | |
IndexIgnore */* | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule (.*) index.html | |
</ifModule> |
This file contains 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
/* The Per Diem tool reports custom events using Google Analytics ga() methods, and Google Tag Manager dataLayer objects. | |
It seems that some of these have been removed from the script, and others refactored in a way that prevents them from firing: | |
1. var "ga" returns undefined, preventing Google Analytics ga() methods from firing. | |
2. tests for the object "dataLayer" seem to be confused with other if statements. This is difficult to discern post-compression, but is clearly preventing event objects from reaching the GTM dataLayer. | |
*/ |
This file contains 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
function getReq(req, reqType) { | |
var fy1req = req + '/year/' + perDiemSearch.startFY; | |
function getStartFY() { | |
return $.ajax({ | |
url: fy1req, | |
}).done(function(data) { | |
//no rates | |
if (!data.rates || data.rates.length === 0) { |
This file contains 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
//adds verified JS route to gaCrumb for initial pageview report | |
if(window.location.hash.indexOf('#/') !== -1){ | |
gaCrumb = gaCrumb + '/' + window.location.hash; | |
} | |
//fires verified JS route as additional "virtual pageview" | |
$(window).hashchange(function(){ | |
if(window.location.hash.indexOf('#/') > -1){ | |
if(gaCrumb.indexOf('#') > -1){ | |
gaCrumb = gaCrumb.split('#')[0]; |
This file contains 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
<div class="ajax load" data-url="/portal/content/100715" data-selector="#mileage-rate"></div> |
This file contains 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
var ieUserAgent = { | |
init: function () { | |
// Get the user agent string | |
var ua = navigator.userAgent; | |
this.compatibilityMode = false; | |
// Detect whether or not the browser is IE | |
var ieRegex = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); | |
if (ieRegex.exec(ua) == null) | |
this.exception = "The user agent detected does not contai Internet Explorer."; |
This file contains 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
<div style="width:286px;padding:10px;float:left;"> | |
<strong><center>DOCUMENTS</center></strong><br> | |
<ul> | |
<li><a href="http://freedomtomarry.org/page/-/files/pdfs/SherkatAuditSummary.pdf">Executive Summary of Audit from Social Science Research</a>, by Sherkat (PDF)</li> | |
<li><a href="http://freedomtomarry.org/page/-/files/pdfs/sherkatauditfinal.pdf">Full Version of Audit from Social Science Research</a>, by Sherkat (PDF)</li> | |
<li><a href="http://freedomtomarry.org/page/-/files/pdfs/AmicusCritiqueOfRegnerusSummary.pdf">Amicus Brief countering claims in Regenerus Study</a> (PDF)</li> | |
</ul> | |
</div> | |
<div style="width:286px;padding:10px;float:left;"> | |
<strong><center>SOCIOLOGISTS' CRITICAL COMMENTARY</center></strong><br> |