var React = require('react'),
	DOM = React.DOM;

module.exports = React.createClass({

	propTypes: {
		version: React.PropTypes.string,
		year: React.PropTypes.number,
		author: React.PropTypes.string,
		email: React.PropTypes.string,
		githubUrl: React.PropTypes.string
	},

	getDefaultProps: function () {
		return {
			year: new Date().getFullYear(),
			author: 'YourNameHere',
			email: 'your@email.com',
			githubUrl: null
		};
	},

	render: function () {
		return DOM.footer(null, [

			DOM.hr(null, null),

			DOM.div({ className: 'row' }, DOM.div({ className: 'col-xs-12 text-center' }, [
				DOM.small({ dangerouslySetInnerHTML: { __html: '&copy; ' + this.props.year + ' ' }}),
				DOM.a({ className: 'footer__author', href: 'mailto:' + this.props.email }, this.props.author),
				DOM.small(null, ' v' + this.props.version)
			])),

			DOM.div({ className: 'row' },
				DOM.div({ className: 'col-xs-12 text-center' },
					DOM.small(null,
						DOM.a({ className: '', href: this.props.githubUrl }, 'View sourcecode on github')
					)
				)
			)

		]);
	}

});
var React = require('react'),
	DOM = React.DOM;

module.exports = React.createClass({

	propTypes: {
		version: React.PropTypes.string,
		year: React.PropTypes.number,
		author: React.PropTypes.string,
		email: React.PropTypes.string,
		githubUrl: React.PropTypes.string
	},

	getDefaultProps: function () {
		return {
			year: new Date().getFullYear(),
			author: 'YourNameHere',
			email: 'your@email.com',
			githubUrl: null
		};
	},

	render: function () {
		return DOM.footer(null, [

			DOM.hr(null, null),

			DOM.div({ className: 'row' }, DOM.div({ className: 'col-xs-12 text-center' }, [
				DOM.small({ dangerouslySetInnerHTML: { __html: '&copy; ' + this.props.year + ' ' }}),
				DOM.a({ className: 'footer__author', href: 'mailto:' + this.props.email }, this.props.author),
				DOM.small({ className: 'footer__version'}, ' v' + this.props.version)
			])),

			DOM.div({ className: 'row' },
				DOM.div({ className: 'col-xs-12 text-center' },
					DOM.small(null,
						DOM.a({ className: 'footer__url', href: this.props.githubUrl }, 'View sourcecode on github')
					)
				)
			)

		]);
	}

});
Update component to pass tests.
Update component to pass tests.
