Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: c117eb60ba
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (17 sloc) 0.427 kb
<!DOCTYPE html>
<html>
<head>
<title>Bacon Examples &raquo; Basic</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<script src="../src/bacon.js"></script>
<script>
var slice = new Bacon();
slice.watch('foo', function (payload, event) {
alert('Just saw "' + event.name + '" set to "' + payload + '"');
});
slice.set('foo', 'bar');
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.