daepark / postmessage

window postmessage plugin for cross-window messaging
http://postmessage.freebaseapps.com
179 stars 55 forks source link

Origin * does not allow wildcard responses #6

Closed jonhoo closed 13 years ago

jonhoo commented 13 years ago

Line 224 which currently reads: if (o.origin && e.origin !== o.origin) { Should read if (o.origin && o.origin != '*' && e.origin !== o.origin) {

To allow * to do wildcard matching