Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Commit ac4cde5

Browse files
committed
cleanup stale code
1 parent 773fc42 commit ac4cde5

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

bliss.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,6 @@ window.onerror = function(msg, url, line) {
4646
box = lightbox("JavaScript error on line " + line + " of " + url, msg);
4747
}
4848

49-
function safer(html) {
50-
return html.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');
51-
}
52-
53-
function get_cookie(key) {
54-
cookies = document.cookie.split('; ')
55-
for (i=0; i<cookies.length; i++) {
56-
kv = cookies[i].split('=');
57-
if (kv[0] == key) {
58-
return kv[1];
59-
}
60-
}
61-
return null;
62-
}
63-
6449
// TODO: replace this handcrafted splitter
6550
function resizer(divider_id, content_id) {
6651
divider = document.getElementById(divider_id);

0 commit comments

Comments
 (0)