-
Notifications
You must be signed in to change notification settings - Fork 0
/
autoDocs-NoName.html
53 lines (39 loc) · 1.67 KB
/
autoDocs-NoName.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
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" href="../src/style.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="../lib/prettify.css" type="text/css" media="screen, projection">
<script src="../lib/prettify.js" language="javascript" type="text/javascript"></script>
<script src="../src/docJS.js" language="javascript" type="text/javascript" ></script>
<title>Auto Object Documentation</title>
<script type="text/javascript">
// taken from http://www.nczonline.net/blog/2009/07/28/the-best-way-to-load-external-javascript/
function loadScript(url, callback) {
var script = document.createElement("script");
script.type = "text/javascript";
if (script.readyState) { //IE
script.onreadystatechange = function () {
if (script.readyState === "loaded" || script.readyState === "complete") {
script.onreadystatechange = null;
eval(callback);
}
};
} else { //Others
script.onload = function () {
eval(callback);
};
}
script.src = url;
document.getElementsByTagName("head")[0].appendChild(script);
}
var a = window.prompt('JavaScript library url?');
var b = window.prompt('Object Name? - docJS(objectname,"objectname")');
loadScript(a, b);
//loadScript("http://code.jquery.com/jquery-1.6.1.js","docJS(jQuery.fn)");
</script>
</head>
<body>
</body>
</html>