PageRenderTime 495ms CodeModel.GetById 212ms app.highlight 1ms RepoModel.GetById 280ms app.codeStats 0ms

/assets/source.html

https://bitbucket.org/saibotd/bitbeaker/
HTML | 41 lines | 15 code | 0 blank | 26 comment | 0 complexity | 08749c301958c42a460746f857f04a87 MD5 | raw file
 1<!DOCTYPE html>
 2<html>
 3<head>
 4<meta charset="utf-8">
 5<title>Source code</title>
 6<!--<script type="text/javascript" src="file:///android_asset/markdown.js"></script>-->
 7<script src="file:///android_asset/codemirror/codemirror.js"></script>
 8<script src="file:///android_asset/codemirror/addon/loadmode.js"></script>
 9<script src="file:///android_asset/codemirror/addon/overlay.js"></script>
10<script src="file:///android_asset/codemirror/init_codemirror.js"></script>
11<link rel="stylesheet" href="file:///android_asset/codemirror/codemirror.css">
12<link rel="stylesheet" href="file:///android_asset/source.css">
13</head>
14<body>
15<!--<div id="html"></div>-->
16<!--<pre id="text"></pre>-->
17<!--<script>
18/*
19	String.prototype.endsWith = function(suffix) {
20		return this.indexOf(suffix, this.length - suffix.length) !== -1;
21	};
22
23	var filename =  bitbeaker.getFilename();
24	var content;
25	if(filename.endsWith(".md") || filename.endsWith(".markdown")){
26		content = bitbeaker.getRawCode();
27		content = markdown.toHTML(content);
28		document.getElementById("html").innerHTML = content;
29	} else if (filename.endsWith(".txt")) {
30		content = bitbeaker.getCode();
31		document.getElementById("text").innerHTML = content;
32	} else {
33		content = bitbeaker.getCode();
34		document.getElementById("code").innerHTML = content;
35		//var maxSize = bitbeaker.getMaxHighlightSize();
36		//if (content.length < maxSize || maxSize == 0) prettyPrint();
37	}
38*/
39</script>-->
40</body>
41</html>