Skip to content

Commit

Permalink
proof of concept 1 initial
Browse files Browse the repository at this point in the history
  • Loading branch information
andregoncalves committed Dec 3, 2009
1 parent 5b2562c commit c3c91a0
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
27 changes: 27 additions & 0 deletions demo1/application.js
@@ -0,0 +1,27 @@
$(document).ready(function() {

$("#record").click(function() {
if ($(this).hasClass('stopped'))
{
startRecording();
$(this).removeClass('stopped');
}
else
{
// TODO: move this to a pubsub
stopRecording();
$(this).addClass('stopped');
}


});


$(document).mousemove(function(e) {
console.info(e);
});
});

var eventStorage = [];


19 changes: 19 additions & 0 deletions demo1/jquery-1.3.2.min.js

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions demo1/proof1.html
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="description" content="" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
</head>
<body>
<header class="clearfix">
<h1>Proof of Concept 1</h1>
</header>
<div id="main">
<button id="a">Click me</button>
</div>
<footer style="position:fixed; background-color:#EEE; bottom:0px; padding:10px">
<button id="record" class="stopped">start recording</button>
<button id="play">play recording</button>
</footer>
<script src="jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="application.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>

0 comments on commit c3c91a0

Please sign in to comment.