aboutsummaryrefslogtreecommitdiffstats
path: root/dev-random/static/js/hex2ascii.js
diff options
context:
space:
mode:
authorm-r-r <raybaudroigm@gmail.com>2012-05-28 13:15:44 +0200
committerm-r-r <raybaudroigm@gmail.com>2012-05-28 13:15:44 +0200
commitfe2acd8e538413a43ae1bc59b21be15a0d092853 (patch)
treec5784107613031b4175da3cbef37811d4284e83e /dev-random/static/js/hex2ascii.js
parent528658da899139d05945818b09db177df2b4a9b5 (diff)
downloadpelican-themes-fe2acd8e538413a43ae1bc59b21be15a0d092853.tar.gz
Code cleanup
Diffstat (limited to 'dev-random/static/js/hex2ascii.js')
-rw-r--r--dev-random/static/js/hex2ascii.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-random/static/js/hex2ascii.js b/dev-random/static/js/hex2ascii.js
deleted file mode 100644
index 3dde36f..0000000
--- a/dev-random/static/js/hex2ascii.js
+++ /dev/null
@@ -1,20 +0,0 @@
-
-window.hex2ascii = {};
-window.hex2ascii.init = function() {
- var els = document.getElementsByClassName('hex'),
- hex, text,
- i, j, e;
-
- for(i=0; i < els.length; i++) {
- e = els[i];
- hex = e.innerHTML.split(' ');
- text = "";
-
- for(j=0; j < hex.length; j++) {
- text += String.fromCharCode(parseInt(hex[j], 16));
- }
-
- e.innerHTML = text;
- e.className = e.className.replace('hex','');
- }
-};