src/PureView.js
function shallowEquals(objA, objB) {
	var returnVal = false;

	if (objA === objB || objA === null && objB === null) {
		returnVal = true;
	}

	if (!returnVal) {
		var propsEqual = true;
		if (Object.keys(objA).length === Object.keys(objB).length) {
			for (var key in objA) {
				propsEqual = propsEqual && objA[key] === objB[key];
			}

			returnVal = propsEqual;
		}
	}

	return returnVal;
}
function shallowEquals(objA, objB) {
	var returnVal = false;

	if (objA === objB || objA === null && objB === null) {
		returnVal = true;
	}

	if (!returnVal) {
		var propsEqual = true;
		if (Object.keys(objA).length === Object.keys(objB).length) {
			for (var key in objA) {
				propsEqual = propsEqual && objA[key] === objB[key];
			}

			returnVal = propsEqual;
		}
	}

	return returnVal;
}
function shallowEquals ( objA , objB ) { var returnVal = false ; if ( objA === objB || objA === null && objB === null ) { returnVal = true ; } if ( ! returnVal ) { var propsEqual = true ; if ( Object . keys ( objA ) . length === Object . keys ( objB ) . length ) { for ( var key in objA ) { propsEqual = propsEqual && objA [ key ] === objB [ key ] ; } returnVal = propsEqual ; } } return returnVal ; }
Utility function which evaluates if the two provided instances
have all of the same properties as each other and if all
of the properties on each other are equal.

@param  {Object} objA [description]
@param  {Object} objB [description]
@return {Boolean}      [description]
Utility function which evaluates if the two provided instances have all of the same properties as each other and if all of the properties on each other are equal .