-
Notifications
You must be signed in to change notification settings - Fork 2
/
reasy.html
42 lines (32 loc) · 1.24 KB
/
reasy.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<html>
<head>
<title>Reasy</title>
<!--link rel="stylesheet" href="css/panorama.css" type="text/css" /-->
</head>
<body>
<input id="text" />
<div id="text_copy">{{ text }}</div>
</body>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" ></script>
<script type="text/javascript" src="jquery.cookie/cookie.js"></script>
<script type="text/javascript" src="content/reasy_browser_db.js"></script>
<script type="text/javascript" src="content/reasy_reader.js"></script>
<script type="text/javascript" src="content/reasy.js"></script>
<script type="text/javascript">
function pref(key, val) {
var key_split = key.split('.');
$.cookie(key_split[key_split.length - 1], val);
}
$('document').ready(function() {
var text_box = $('#text');
text_box.change(function() {
$('#text_copy').append(text_box.val());
});
var text = '{{ text }}';
if (text) {
text_box.val(text);
}
});
</script>
<script type="text/javascript" src="defaults/preferences/reasy_prefs.js"></script>
</html>