Skip to content

Commit

Permalink
added an easyxdm slide
Browse files Browse the repository at this point in the history
  • Loading branch information
SlexAxton committed Oct 17, 2010
1 parent bfcf297 commit e8f3ba2
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions index.html
Expand Up @@ -1246,6 +1246,40 @@ <h1>Modifying Plugin Functionality</h1>




<div class="slide">
<header>
<h1>EasyXDM: An Overview</h1>
</header>
<section class="smallerCode" style="margin-top:133px;">
<pre class="brush: js; toolbar:false;">
var socket = new easyXDM.Socket({
local: "name.html",
onReady: function(){
// you need to wait for the onReady callback before using the socket
socket.postMessage("foo-message");
},
onMessage: function(message, origin) {
alert("received " + message + " from " + origin);
}
});
</pre>
<ul style="margin-left:20px;margin-top:0px;">
<li>Implements the postMessage API</li>
<li>Falls back to _everything_</li>
<li>Kind of a perfect solution for Cross Domain communication. <3z</li>
</ul>
</section>
</div>









<div class="slide">
<header>
<h1>Imagine</h1>
Expand Down Expand Up @@ -1341,6 +1375,7 @@ <h1>Links to this stuff:</h1>
<li><a href="http://ejohn.org/blog/simple-javascript-inheritance/">Simple Inheritance</a></li>
<li><a href="http://documentcloud.github.com/underscore/">Underscore.js</a></li>
<li><a href="http://documentcloud.github.com/backbone/">BackboneJS</a></li>
<li><a href="http://easyxdm.net/">EasyXDM</a></li>
</ul>
</section>
</div>
Expand Down

0 comments on commit e8f3ba2

Please sign in to comment.