From b19725007460f0263ae63c30e9416198165b6fc6 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 26 May 2016 18:37:14 +0000 Subject: [PATCH] spelling: listener --- examples/assets/library/iframe-content.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/assets/library/iframe-content.js b/examples/assets/library/iframe-content.js index c6b395bcf..35331e49d 100644 --- a/examples/assets/library/iframe-content.js +++ b/examples/assets/library/iframe-content.js @@ -343,10 +343,10 @@ } } - function setupInjectElementLoadListners(mutations){ + function setupInjectElementLoadListeners(mutations){ function addLoadListener(element){ if (element.height === undefined || element.width === undefined || 0 === element.height || 0 === element.width){ - log('Attach listerner to '+element.src); + log('Attach listener to '+element.src); addEventListener(element,'load', function imageLoaded(){ sendSize('imageLoad','Image loaded'); }); @@ -384,7 +384,7 @@ observer = new MutationObserver(function(mutations) { sendSize('mutationObserver','mutationObserver: ' + mutations[0].target + ' ' + mutations[0].type); - setupInjectElementLoadListners(mutations); //Deal with WebKit asyncing image loading when tags are injected into the page + setupInjectElementLoadListeners(mutations); //Deal with WebKit asyncing image loading when tags are injected into the page }); log('Enable MutationObserver');