src/js/tracker.js
/*
		 * Check whether a list of classes contains any of the classes of a link element
		 * Used to determine whether clicks on that link should be tracked
		 */
Check whether a list of classes contains any of the classes of a link element
Used to determine whether clicks on that link should be tracked
Check whether a list of classes contains any of the classes of a link element Used to determine whether clicks on that link should be tracked
function checkLink(linkElement, specifiedClasses) {
			var linkClasses = lodash.map(linkElement.classList),
				i,
				j;
			for (i = 0; i < linkClasses.length; i++) {
				for (j = 0; j < specifiedClasses.length; j++) {
					if (linkClasses[i] === specifiedClasses[j]) {
						return true;
					}
				}
			}
			return false;
		}
function checkLink ( linkElement , specifiedClasses ) { var linkClasses = lodash . map ( linkElement . classList ) , i , j ; for ( i = 0 ; i < linkClasses . length ; i ++ ) { for ( j = 0 ; j < specifiedClasses . length ; j ++ ) { if ( linkClasses [ i ] === specifiedClasses [ j ] ) { return true ; } } } return false ; }
Check whether a list of classes contains any of the classes of a link element
 Used to determine whether clicks on that link should be tracked
Check whether a list of classes contains any of the classes of a link element Used to determine whether clicks on that link should be tracked