React port nearing completetion. Adding tests

This commit is contained in:
Colin McLeod
2016-01-27 00:52:57 -08:00
parent 8227a4e361
commit b42a812a45
23 changed files with 362 additions and 298 deletions

View File

@@ -5,6 +5,7 @@ import cn from 'classnames';
/**
* Returns true if the current window location equals the link
* @param {string} href URL/Href
* @return {boolean} If matches
*/
function isActive(href) {