aboutsummaryrefslogtreecommitdiff
path: root/js/slide-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/slide-controller.js')
-rw-r--r--js/slide-controller.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/slide-controller.js b/js/slide-controller.js
index a247b91..2af62e9 100644
--- a/js/slide-controller.js
+++ b/js/slide-controller.js
@@ -126,10 +126,11 @@
126 } 126 }
127 127
128 SlideController.prototype.onMessage_ = function(e) { 128 SlideController.prototype.onMessage_ = function(e) {
129 console.log("Received event: " + JSON.stringify(e));
130 129
131 var data = e.data; 130 var data = e.data;
132 131
132 console.log("Received event: " + JSON.stringify(data));
133
133 // Restrict messages to being from this origin. Allow local developmet 134 // Restrict messages to being from this origin. Allow local developmet
134 // from file:// though. 135 // from file:// though.
135 // TODO: It would be dope if FF implemented location.origin! 136 // TODO: It would be dope if FF implemented location.origin!