guardian/interactive-boot-scripts — pull request #3 by andymason (2014-02-12 17:29:16+00:00)
Title: Added check for source of message allowing for multiple iframes

Currently if multiple iframe interactives are loaded on a single page they will all receive each other's messages.

I suggest the inclusion of the href within the message data to compare against the link's original href.

It would be possible to use the `event.source.location.href`, however, this might change within the child iframe if #hashes were added or navigating to a sub folder.

This change would require a version bump as existing interactives would break. Or, all existing interactives could upgraded to use the new iframeMessenger library.