From 57d5ab9e3f68b3a3d80e8538be19f5421a655b1e Mon Sep 17 00:00:00 2001 From: "Shahar Or (mightyiam)" Date: Fri, 27 Apr 2018 17:02:37 +0300 Subject: [PATCH] fix(spec): add missing quotes to string --- SPEC.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC.rst b/SPEC.rst index 5025b44..706f390 100644 --- a/SPEC.rst +++ b/SPEC.rst @@ -149,7 +149,7 @@ It's helpful to have a quick example of the JavaScript before moving forward. window.addEventListener('message', function(){ if (e.origin === origin){ var data = JSON.parse(e.data); - if (data.context === 'player.js' && data.event === play){ + if (data.context === 'player.js' && data.event === 'play'){ played(); } }