function(msg) {
		_canvasWidth = msg.data.config.size.canvasWidth;
		_canvasHeight = msg.data.config.size.canvasHeight;
	}
function(msg) {
		_canvasWidth = msg.data.config.size.canvasWidth;
		_canvasHeight = msg.data.config.size.canvasHeight;
	}
function ( msg ) { _canvasWidth = msg . data . config . size . canvasWidth ; _canvasHeight = msg . data . config . size . canvasHeight ; }
Listen for data changes so we can keep track of the current canvas size.
@param msg
@private
Listen for data changes so we can keep track of the current canvas size .