From 2932548e63fc65427d82000ce48e299a879077e0 Mon Sep 17 00:00:00 2001 From: "Shahar Or (mightyiam)" Date: Fri, 27 Apr 2018 16:56:46 +0300 Subject: [PATCH] fix(spec): add missing param name in example --- SPEC.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC.rst b/SPEC.rst index 5025b44..5d4fa42 100644 --- a/SPEC.rst +++ b/SPEC.rst @@ -146,7 +146,7 @@ It's helpful to have a quick example of the JavaScript before moving forward. console.log('played'); }; - window.addEventListener('message', function(){ + window.addEventListener('message', function(e){ if (e.origin === origin){ var data = JSON.parse(e.data); if (data.context === 'player.js' && data.event === play){