You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
761 B
32 lines
761 B
11 years ago
|
<!doctype html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8"/>
|
||
|
<title>A smart, organizing text editor</title>
|
||
|
<link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
|
||
|
<link href="/static/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" type="text/css"/>
|
||
|
<link href="/static/shoofle.css" rel="stylesheet" type="text/css"/>
|
||
|
<script src="/static/jquery.min.js" type="text/javascript"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="block" id="editor" contentEditable>
|
||
|
<p>Hi!</p>
|
||
|
</div>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
var aaaaa = this;
|
||
|
function inject(name, value) {
|
||
|
aaaaa[name] = value;
|
||
|
}
|
||
|
|
||
|
$(document).ready(function() {
|
||
|
var sum = 0;
|
||
|
for (var i=0; i<17; i++) {
|
||
|
sum += i;
|
||
|
}
|
||
|
inject("some_sum", sum);
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|