site/examples/todo/js/todos/todos.js
function () {
			// Remove the `selected` class from the old link and add it to the link for the current location hash
			this.element.find('#filters').find('a').removeClass('selected')
				.end().find('[href="' + window.location.hash + '"]').addClass('selected');
		}
function () {
			// Remove the `selected` class from the old link and add it to the link for the current location hash
			this.element.find('#filters').find('a').removeClass('selected')
				.end().find('[href="' + window.location.hash + '"]').addClass('selected');
		}
function ( ) { // Remove the `selected` class from the old link and add it to the link for the current location hash this . element . find ( '#filters' ) . find ( 'a' ) . removeClass ( 'selected' ) . end ( ) . find ( '[href="' + window . location . hash + '"]' ) . addClass ( 'selected' ) ; }
Listener for when the route changes
Listener for when the route changes