From 11ea0aa3e13e665dc882a432381c27898c86e569 Mon Sep 17 00:00:00 2001
From: Hakim El Hattab
Date: Fri, 18 Apr 2014 13:56:51 +0200
Subject: postmessage plugin is now part of reveal.js core

---
 plugin/postmessage/example.html | 39 ---------------------------------------
 1 file changed, 39 deletions(-)
 delete mode 100644 plugin/postmessage/example.html

(limited to 'plugin/postmessage/example.html')

diff --git a/plugin/postmessage/example.html b/plugin/postmessage/example.html
deleted file mode 100644
index cc57a7b..0000000
--- a/plugin/postmessage/example.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<html>
-	<body>
-
-		<iframe id="reveal" src="../../index.html" style="border: 0;" width="500" height="500"></iframe>
-
-		<div>
-			<input id="back" type="button" value="go back"/>
-			<input id="ahead" type="button" value="go ahead"/>
-			<input id="slideto" type="button" value="slideto 2-2"/>
-		</div>
-
-		<script>
-
-			(function (){
-
-				var back = document.getElementById( 'back' ),
-						ahead = document.getElementById( 'ahead' ),
-						slideto = document.getElementById( 'slideto' ),
-						reveal =  window.frames[0];
-
-					back.addEventListener( 'click', function () {
-						
-					reveal.postMessage( JSON.stringify({method: 'prev', args: []}), '*' );
-				}, false );
-
-				ahead.addEventListener( 'click', function (){
-					reveal.postMessage( JSON.stringify({method: 'next', args: []}), '*' );
-				}, false );
-
-				slideto.addEventListener( 'click', function (){
-					reveal.postMessage( JSON.stringify({method: 'slide', args: [2,2]}), '*' );
-				}, false );
-
-			}());
-
-		</script>
-
-	</body>
-</html>
-- 
cgit v1.2.3