forked from pgte/cyclops
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b2562c
commit c3c91a0
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 = []; | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |