Lines Matching refs:data
47 if (typeof e.data === 'object' && e.data.hasOwnProperty('prefix')) {
48 if (e.data.prefix === this.prefix) {
49 // Only invoke callback when `data` is an object containing
51 // Note fn is invoked with "unwrapped" data first, then the event `e`
52 // (which contains the full, wrapped e.data should it be needed)
53 fn.call(this, e.data.data, e);
90 * opener context. It will whatever message is being sent (`data`) in
93 PrefixedMessageResource.prototype.postToOpener = function (data) {
97 data: data