more conversion to Unix line endings

This commit is contained in:
Manu Sridharan 2012-09-04 15:59:50 -07:00
parent 256cd06460
commit 56f3d847a5
60 changed files with 1174 additions and 1174 deletions

View File

@ -1,4 +1,4 @@
#Mon Apr 13 10:03:21 EDT 2009 #Mon Apr 13 10:03:21 EDT 2009
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11

View File

@ -1,4 +1,4 @@
#Mon Apr 13 15:21:17 EDT 2009 #Mon Apr 13 15:21:17 EDT 2009
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11

View File

@ -1,4 +1,4 @@
#Mon Apr 13 15:38:50 EDT 2009 #Mon Apr 13 15:38:50 EDT 2009
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11

View File

@ -1,5 +1,5 @@
#Thu Jan 03 11:24:43 EST 2008 #Thu Jan 03 11:24:43 EST 2008
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,5 +1,5 @@
#Thu Jan 03 11:24:43 EST 2008 #Thu Jan 03 11:24:43 EST 2008
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,196 +1,196 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title> <title>Untitled Document</title>
</head> </head>
<script> <script>
var g_image_number = 0; var g_image_number = 0;
</script> </script>
<script> <script>
function test_function_base_crawling() function test_function_base_crawling()
{ {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "function_base_crawling_"; href += "function_base_crawling_";
href += (12*document.location.href.length) ? "worked" : "/strange_behaviour"; href += (12*document.location.href.length) ? "worked" : "/strange_behaviour";
document.location.href = href; document.location.href = href;
} }
</script> </script>
<script> <script>
function test_event_element() function test_event_element()
{ {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "event_element_"; href += "event_element_";
if (window.event == undefined) { if (window.event == undefined) {
href += (12*document.location.href.length) ? "unsupported" : "strange_behaviour"; href += (12*document.location.href.length) ? "unsupported" : "strange_behaviour";
} else if (!isNaN(window.event.srcElement)) { } else if (!isNaN(window.event.srcElement)) {
href += (12*document.location.href.length) ? "srcElement_unsupported" : "strange_behaviour"; href += (12*document.location.href.length) ? "srcElement_unsupported" : "strange_behaviour";
} else if (!isNaN(window.event.srcElement)) { } else if (!isNaN(window.event.srcElement)) {
href += (12*document.location.href.length) ? "srcElement_attr_unsupported" : "strange_behaviour"; href += (12*document.location.href.length) ? "srcElement_attr_unsupported" : "strange_behaviour";
} else { } else {
href += (12*document.location.href.length) ? "worked" : "strange_behaviour"; href += (12*document.location.href.length) ? "worked" : "strange_behaviour";
} }
document.location.href = href; document.location.href = href;
} }
</script> </script>
<script> <script>
function test_isNaN() function test_isNaN()
{ {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "isNaN_"; href += "isNaN_";
if (!isNaN(window.asghdaa)) { if (!isNaN(window.asghdaa)) {
href += (12*document.location.href.length) ? "unsupported" : "strange_behaviour"; href += (12*document.location.href.length) ? "unsupported" : "strange_behaviour";
} else { } else {
href += (12*document.location.href.length) ? "worked" : "strange_behaviour"; href += (12*document.location.href.length) ? "worked" : "strange_behaviour";
} }
document.location.href = href; document.location.href = href;
} }
</script> </script>
<script> <script>
function test_first_phase() function test_first_phase()
{ {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "first_phase_"; href += "first_phase_";
href += (12*document.location.href.length) ? "worked" : "/strange_behaviour"; href += (12*document.location.href.length) ? "worked" : "/strange_behaviour";
document.location.href = href; document.location.href = href;
} }
</script> </script>
<script> <script>
function test_second_phase() function test_second_phase()
{ {
var button = document.createElement("button"); var button = document.createElement("button");
button.innerText = "go to second phase html"; button.innerText = "go to second phase html";
document.body.appendChild(button); document.body.appendChild(button);
button.onclick = function () { button.onclick = function () {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "second_phase_"; href += "second_phase_";
href += (12*document.location.href.length) ? "worked" : "/strange_behaviour"; href += (12*document.location.href.length) ? "worked" : "/strange_behaviour";
document.location.href = href; document.location.href = href;
}; };
var thirdButton = document.createElement("button"); var thirdButton = document.createElement("button");
thirdButton.innerText = 'Test "Third Phase Competability"'; thirdButton.innerText = 'Test "Third Phase Competability"';
thirdButton.onclick = test_third_phase; thirdButton.onclick = test_third_phase;
document.body.appendChild(thirdButton); document.body.appendChild(thirdButton);
} }
</script> </script>
<script> <script>
function test_third_phase() function test_third_phase()
{ {
var button = document.createElement("button"); var button = document.createElement("button");
button.innerText = "go to third phase html"; button.innerText = "go to third phase html";
document.body.appendChild(button); document.body.appendChild(button);
button.onclick = function () { button.onclick = function () {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "third_phase_"; href += "third_phase_";
href += (12*document.location.href.length) ? "worked" : "/strange_behaviour"; href += (12*document.location.href.length) ? "worked" : "/strange_behaviour";
document.location.href = href; document.location.href = href;
} }
} }
</script> </script>
<script> <script>
function test_n_phase() function test_n_phase()
{ {
var button = document.createElement("button"); var button = document.createElement("button");
button.tag = isNaN(event.srcElement.tag) ? 1 : Number(event.srcElement.tag) + 1; button.tag = isNaN(event.srcElement.tag) ? 1 : Number(event.srcElement.tag) + 1;
button.innerText = "go to "+button.tag+" phase html"; button.innerText = "go to "+button.tag+" phase html";
button.onclick = function () { button.onclick = function () {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "n_phase_"+button.tag+"_"; href += "n_phase_"+button.tag+"_";
href += (12*document.location.href.length) ? "worked" : "/strange_behaviour"; href += (12*document.location.href.length) ? "worked" : "/strange_behaviour";
document.location.href = href; document.location.href = href;
}; };
var linkButton = document.createElement("button"); var linkButton = document.createElement("button");
linkButton.tag = button.tag; linkButton.tag = button.tag;
linkButton.innerText = "create "+linkButton.tag+" phase button"; linkButton.innerText = "create "+linkButton.tag+" phase button";
linkButton.onclick = test_n_phase; linkButton.onclick = test_n_phase;
document.body.appendChild(linkButton); document.body.appendChild(linkButton);
document.body.appendChild(button); document.body.appendChild(button);
} }
</script> </script>
<script> <script>
var differentOrder = "/differnet_order_"; var differentOrder = "/differnet_order_";
</script> </script>
<script> <script>
function test_both_order2() function test_both_order2()
{ {
differentOrder += "2"; differentOrder += "2";
test_both_order_button.innerText = 'Test "Different Order Competability 2"'; test_both_order_button.innerText = 'Test "Different Order Competability 2"';
} }
</script> </script>
<script> <script>
function test_both_order() function test_both_order()
{ {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "both_order_"; href += "both_order_";
href += (test_both_order_button.innerText.substr(test_both_order_button.innerText.length-2,1)); href += (test_both_order_button.innerText.substr(test_both_order_button.innerText.length-2,1));
href += ".html"; href += ".html";
document.location.href = href; document.location.href = href;
} }
</script> </script>
<script> <script>
function send_unique_dom_request() function send_unique_dom_request()
{ {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "dom_unique"; href += "dom_unique";
href += ".html"; href += ".html";
document.location.href = href; document.location.href = href;
} }
</script> </script>
<script> <script>
function send_same_dom_request() function send_same_dom_request()
{ {
var href; var href;
href = "results.html?"; href = "results.html?";
href += "dom_same"; href += "dom_same";
href += ".html"; href += ".html";
document.location.href = href; document.location.href = href;
} }
</script> </script>
<script> <script>
function test_unique_dom_button2() function test_unique_dom_button2()
{ {
test_unique_dom_button.onclick = send_same_dom_request; test_unique_dom_button.onclick = send_same_dom_request;
} }
</script> </script>
<body> <body>
<BR><BR><BR><HR><BR><BR><BR> <BR><BR><BR><HR><BR><BR><BR>
<BR><button onclick = "test_event_element()">Test "Event Element"</button> <BR><button onclick = "test_event_element()">Test "Event Element"</button>
<BR><button onclick = "test_isNaN()">Test "isNaN Competability"</button> <BR><button onclick = "test_isNaN()">Test "isNaN Competability"</button>
<BR><button onclick = "test_first_phase()">Test "First Phase Competability"</button> <BR><button onclick = "test_first_phase()">Test "First Phase Competability"</button>
<BR><button onclick = "test_second_phase()">Test "Second Phase Competability"</button> <BR><button onclick = "test_second_phase()">Test "Second Phase Competability"</button>
<BR><button onclick = "test_n_phase()">Test "N Phase Competability"</button> <BR><button onclick = "test_n_phase()">Test "N Phase Competability"</button>
<BR><button id=test_both_order_button onclick = "test_both_order()">Test "Different Order Competability 1"</button> <BR><button id=test_both_order_button onclick = "test_both_order()">Test "Different Order Competability 1"</button>
<button onclick = "test_both_order2()">Change Different Order Location</button> <button onclick = "test_both_order2()">Change Different Order Location</button>
<BR><button onclick = "test_unique_dom_button2()">Change Next element onclick Method</button> <BR><button onclick = "test_unique_dom_button2()">Change Next element onclick Method</button>
<button id=test_unique_dom_button onclick = "send_unique_dom_request()">Test "Unique Dom Competability"</button> <button id=test_unique_dom_button onclick = "send_unique_dom_request()">Test "Unique Dom Competability"</button>
<BR> <BR>
</body> </body>
</html> </html>

View File

@ -1,25 +1,25 @@
<html> <html>
<body> <body>
<script> <script>
var myForm = document.createElement("form"); var myForm = document.createElement("form");
myForm.setAttribute("action","page11.php"); myForm.setAttribute("action","page11.php");
myForm.setAttribute("method","GET"); myForm.setAttribute("method","GET");
var myHiddenA = document.createElement("input"); var myHiddenA = document.createElement("input");
myHiddenA.setAttribute("type","hidden"); myHiddenA.setAttribute("type","hidden");
myHiddenA.setAttribute("name","a"); myHiddenA.setAttribute("name","a");
myHiddenA.setAttribute("value","ok"); myHiddenA.setAttribute("value","ok");
var myHiddenB = document.createElement("input"); var myHiddenB = document.createElement("input");
myHiddenB.setAttribute("type","hidden"); myHiddenB.setAttribute("type","hidden");
myHiddenB.setAttribute("name","b"); myHiddenB.setAttribute("name","b");
myHiddenB.setAttribute("value","ok"); myHiddenB.setAttribute("value","ok");
var mySubmit = document.createElement("input"); var mySubmit = document.createElement("input");
mySubmit.setAttribute("type","submit"); mySubmit.setAttribute("type","submit");
mySubmit.setAttribute("name","submit"); mySubmit.setAttribute("name","submit");
mySubmit.setAttribute("value","submit"); mySubmit.setAttribute("value","submit");
myForm.appendChild(myHiddenA); myForm.appendChild(myHiddenA);
myForm.appendChild(myHiddenB); myForm.appendChild(myHiddenB);
myForm.appendChild(mySubmit); myForm.appendChild(mySubmit);
document.body.appendChild(myForm); document.body.appendChild(myForm);
</script> </script>
</body> </body>
</html> </html>

View File

@ -1,31 +1,31 @@
<html> <html>
<head> <head>
<script> <script>
function handler() function handler()
{ {
if(this.readyState == 4) if(this.readyState == 4)
{ {
var contents = this.responseText; var contents = this.responseText;
document.getElementById("myDiv").innerHTML = contents; document.getElementById("myDiv").innerHTML = contents;
} }
return; return;
} }
function callXHR() function callXHR()
{ {
var textBoxValue = document.getElementById("freeTextField").value; var textBoxValue = document.getElementById("freeTextField").value;
var client = new XMLHttpRequest(); var client = new XMLHttpRequest();
client.onreadystatechange = handler; client.onreadystatechange = handler;
client.open("GET", "page12.php?freeTextField="+textBoxValue, true); client.open("GET", "page12.php?freeTextField="+textBoxValue, true);
client.send(null); client.send(null);
return; return;
} }
</script> </script>
</head> </head>
<body> <body>
<div id="myDiv" style="location: absolute; top: 100px; left: 100px; height: 400px; width: 400px; background-color: #ff0000;"></div> <div id="myDiv" style="location: absolute; top: 100px; left: 100px; height: 400px; width: 400px; background-color: #ff0000;"></div>
<input type="text" id="freeTextField" name="freeTextField" value="DEFAULT_SHOULD_BE_CHANGED"></input> <input type="text" id="freeTextField" name="freeTextField" value="DEFAULT_SHOULD_BE_CHANGED"></input>
<button onclick="return callXHR();">SUBMIT</button> <button onclick="return callXHR();">SUBMIT</button>
</body> </body>
</html> </html>

View File

@ -1,32 +1,32 @@
<html> <html>
<head> <head>
<script> <script>
function handler() function handler()
{ {
if(this.readyState == 4) if(this.readyState == 4)
{ {
var contents = this.responseText; var contents = this.responseText;
document.getElementById("myDiv").innerHTML = contents; document.getElementById("myDiv").innerHTML = contents;
} }
return; return;
} }
function callXHR() function callXHR()
{ {
var textBoxValue = document.getElementById("freeTextField").value; var textBoxValue = document.getElementById("freeTextField").value;
var client = new XMLHttpRequest(); var client = new XMLHttpRequest();
client.onreadystatechange = handler; client.onreadystatechange = handler;
client.open("POST", "page13.php", true); client.open("POST", "page13.php", true);
client.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); client.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
client.send("freeTextField="+textBoxValue); client.send("freeTextField="+textBoxValue);
return; return;
} }
</script> </script>
</head> </head>
<body> <body>
<div id="myDiv" style="location: absolute; top: 100px; left: 100px; height: 400px; width: 400px; background-color: #ff0000;"></div> <div id="myDiv" style="location: absolute; top: 100px; left: 100px; height: 400px; width: 400px; background-color: #ff0000;"></div>
<input type="text" id="freeTextField" name="freeTextField" value="DEFAULT_SHOULD_BE_CHANGED"></input> <input type="text" id="freeTextField" name="freeTextField" value="DEFAULT_SHOULD_BE_CHANGED"></input>
<button onclick="return callXHR();">SUBMIT</button> <button onclick="return callXHR();">SUBMIT</button>
</body> </body>
</html> </html>

View File

@ -1,8 +1,8 @@
<html> <html>
<head> <head>
<script src="15.js"></script> <script src="15.js"></script>
</head> </head>
<body onload="return changeUrls();"> <body onload="return changeUrls();">
<a href="#">Link to be changed onload</a> <a href="#">Link to be changed onload</a>
</body> </body>
</html> </html>

View File

@ -1,8 +1,8 @@
<html> <html>
<head> <head>
<script src="16.js"></script> <script src="16.js"></script>
</head> </head>
<body> <body>
<a href="#" onclick="return changeUrls();">Link to be changed onload</a> <a href="#" onclick="return changeUrls();">Link to be changed onload</a>
</body> </body>
</html> </html>

View File

@ -1,37 +1,37 @@
<html> <html>
<head> <head>
<script> <script>
function loadScript(url, callback) function loadScript(url, callback)
{ {
var head = document.getElementsByTagName("head")[0]; var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script"); var script = document.createElement("script");
script.src = url; script.src = url;
var done = false; var done = false;
script.onload = script.onreadystatechange = function _page17_handler() script.onload = script.onreadystatechange = function _page17_handler()
{ {
if( !done && ( !this.readyState || this.readyState == "loaded" || this.readyState == "complete")) if( !done && ( !this.readyState || this.readyState == "loaded" || this.readyState == "complete"))
{ {
done = true; done = true;
callback(); callback();
script.onload = script.onreadystatechange = null; script.onload = script.onreadystatechange = null;
head.removeChild( script ); head.removeChild( script );
} }
}; };
head.appendChild(script); head.appendChild(script);
} }
function callFunction() function callFunction()
{ {
changeUrls(); changeUrls();
} }
</script> </script>
</head> </head>
<body> <body>
<a href="#">Test Link</a> <a href="#">Test Link</a>
<script> <script>
loadScript("17.js", callFunction); loadScript("17.js", callFunction);
</script> </script>
</body> </body>
</html> </html>

View File

@ -1,263 +1,263 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title> <title>Untitled Document</title>
</head> </head>
<script> <script>
(function top () { (function top () {
var c = n.jQuery = n.$ = function dollar (a, d) { var c = n.jQuery = n.$ = function dollar (a, d) {
return new c.fn.init(a, d) return new c.fn.init(a, d)
} }
c.fn = c.prototype = { c.fn = c.prototype = {
init: function init (a, d) { init: function init (a, d) {
a = a || document; a = a || document;
if (a.nodeType) { if (a.nodeType) {
this[0] = a; this[0] = a;
this.length = 1; this.length = 1;
this.context = a; this.context = a;
return this return this
} }
if (typeof a === "string") { if (typeof a === "string") {
var f = r.exec(a); var f = r.exec(a);
if (f && (f[1] || !d)) if (f[1]) a = c.clean([f[1]], d); if (f && (f[1] || !d)) if (f[1]) a = c.clean([f[1]], d);
else { else {
if ((d = document.getElementById(f[3])) && d.id != f[3]) return c().find(a); if ((d = document.getElementById(f[3])) && d.id != f[3]) return c().find(a);
f = c(d || []); f = c(d || []);
f.context = document; f.context = document;
f.selector = a; f.selector = a;
return f return f
} else return c(d).find(a) } else return c(d).find(a)
} else if (c.isFunction(a)) return c(document).ready(a); } else if (c.isFunction(a)) return c(document).ready(a);
if (a.selector && a.context) { if (a.selector && a.context) {
this.selector = this.selector =
a.selector; a.selector;
this.context = a.context this.context = a.context
} }
return this.setArray(c.isArray(a) ? a : c.makeArray(a)) return this.setArray(c.isArray(a) ? a : c.makeArray(a))
} }
}; };
c.extend = c.fn.extend = function extend () { c.extend = c.fn.extend = function extend () {
var a = var a =
arguments[0] || {}, arguments[0] || {},
d = 1, d = 1,
f = arguments.length, f = arguments.length,
j = false, j = false,
q; q;
if (typeof a === "boolean") { if (typeof a === "boolean") {
j = a; j = a;
a = arguments[1] || {}; a = arguments[1] || {};
d = 2 d = 2
} }
if (typeof a !== "object" && !c.isFunction(a)) a = {}; if (typeof a !== "object" && !c.isFunction(a)) a = {};
if (f == d) { if (f == d) {
a = this; a = this;
--d --d
} }
for (; d < f; d++) if ((q = arguments[d]) != null) for (var t in q) { for (; d < f; d++) if ((q = arguments[d]) != null) for (var t in q) {
var y = a[t], var y = a[t],
A = q[t]; A = q[t];
if (a !== A) if (j && A && typeof A === "object" && !A.nodeType) a[t] = c.extend(j, y || (A.length != null ? [] : {}), A); if (a !== A) if (j && A && typeof A === "object" && !A.nodeType) a[t] = c.extend(j, y || (A.length != null ? [] : {}), A);
else if (A !== void 0) a[t] = A else if (A !== void 0) a[t] = A
} }
return a return a
}; };
c.extend({ c.extend({
noConflict: function noConflict (a) { noConflict: function noConflict (a) {
n.$ = n.$ =
B; B;
if (a) n.jQuery = w; if (a) n.jQuery = w;
return c return c
}, },
isFunction: 2, isFunction: 2,
each: function each (a, d, f) { each: function each (a, d, f) {
var j, q = 0, var j, q = 0,
t = a.length; t = a.length;
if (f) if (t === void 0) for (j in a) { if (f) if (t === void 0) for (j in a) {
if (d.apply(a[j], f) === false) break if (d.apply(a[j], f) === false) break
} else for (; q < t;) { } else for (; q < t;) {
if (d.apply(a[q++], f) === false) break if (d.apply(a[q++], f) === false) break
} else if (t === void 0) for (j in a) { } else if (t === void 0) for (j in a) {
if (d.call(a[j], j, a[j]) === false) break if (d.call(a[j], j, a[j]) === false) break
} else for (f = a[0]; q < t && d.call(f, q, f) !== false; f = a[++q]); } else for (f = a[0]; q < t && d.call(f, q, f) !== false; f = a[++q]);
return a return a
}, },
className: { className: {
add: function add (a, d) { add: function add (a, d) {
c.each((d || "").split(/\s+/), function (f, j) { c.each((d || "").split(/\s+/), function (f, j) {
if (a.nodeType == 1 && !c.className.has(a.className, j)) a.className += (a.className ? " " : "") + j if (a.nodeType == 1 && !c.className.has(a.className, j)) a.className += (a.className ? " " : "") + j
}) })
}, },
remove: function remove (a, d) { remove: function remove (a, d) {
if (a.nodeType == 1) a.className = d !== void 0 ? c.grep(a.className.split(/\s+/), function (f) { if (a.nodeType == 1) a.className = d !== void 0 ? c.grep(a.className.split(/\s+/), function (f) {
return !c.className.has(d, f) return !c.className.has(d, f)
}).join(" ") : "" }).join(" ") : ""
}, },
has: function has (a, d) { has: function has (a, d) {
return a && c.inArray(d, (a.className || a).toString().split(/\s+/)) > -1 return a && c.inArray(d, (a.className || a).toString().split(/\s+/)) > -1
} }
}, },
swap: function swap (a, d, f) { swap: function swap (a, d, f) {
var j = {}; var j = {};
for (var q in d) { for (var q in d) {
j[q] = a.style[q]; j[q] = a.style[q];
a.style[q] = d[q] a.style[q] = d[q]
} }
f.call(a); f.call(a);
for (q in d) a.style[q] = j[q] for (q in d) a.style[q] = j[q]
}, },
css: function css (a, d, f, j) { css: function css (a, d, f, j) {
if (d == "width" || d == "height") { if (d == "width" || d == "height") {
var q; var q;
f = { f = {
position: "absolute", position: "absolute",
visibility: "hidden", visibility: "hidden",
display: "block" display: "block"
}; };
var t = d == "width" ? ["Left", "Right"] : ["Top", "Bottom"], var t = d == "width" ? ["Left", "Right"] : ["Top", "Bottom"],
y = function () { y = function () {
q = d == "width" ? a.offsetWidth : a.offsetHeight; q = d == "width" ? a.offsetWidth : a.offsetHeight;
j !== "border" && c.each(t, function () { j !== "border" && c.each(t, function () {
j || (q -= parseFloat(c.curCSS(a, "padding" + this, true)) || 0); j || (q -= parseFloat(c.curCSS(a, "padding" + this, true)) || 0);
if (j === "margin") q += parseFloat(c.curCSS(a, "margin" + this, true)) || 0; if (j === "margin") q += parseFloat(c.curCSS(a, "margin" + this, true)) || 0;
else q -= parseFloat(c.curCSS(a, "border" + this + "Width", true)) || 0 else q -= parseFloat(c.curCSS(a, "border" + this + "Width", true)) || 0
}) })
}; };
a.offsetWidth !== 0 ? y() : c.swap(a, f, y); a.offsetWidth !== 0 ? y() : c.swap(a, f, y);
return Math.max(0, Math.round(q)) return Math.max(0, Math.round(q))
} }
return c.curCSS(a, d, f) return c.curCSS(a, d, f)
}, },
curCSS: function curCSS (a, d, f) { curCSS: function curCSS (a, d, f) {
var j, q = a.style; var j, q = a.style;
if (d == "opacity" && !c.support.opacity) { if (d == "opacity" && !c.support.opacity) {
j = c.attr(q, "opacity"); j = c.attr(q, "opacity");
return j == "" ? "1" : j return j == "" ? "1" : j
} }
if (d.match(/float/i)) d = W; if (d.match(/float/i)) d = W;
if (!f && q && q[d]) j = q[d]; if (!f && q && q[d]) j = q[d];
else if (F.getComputedStyle) { else if (F.getComputedStyle) {
if (d.match(/float/i)) d = "float"; if (d.match(/float/i)) d = "float";
d = d.replace(/([A-Z])/g, "-$1").toLowerCase(); d = d.replace(/([A-Z])/g, "-$1").toLowerCase();
if (a = F.getComputedStyle(a, null)) j = a.getPropertyValue(d); if (a = F.getComputedStyle(a, null)) j = a.getPropertyValue(d);
if (d == "opacity" && j == "") j = "1" if (d == "opacity" && j == "") j = "1"
} else if (a.currentStyle) { } else if (a.currentStyle) {
j = d.replace(/\-(\w)/g, function (t, y) { j = d.replace(/\-(\w)/g, function (t, y) {
return y.toUpperCase() return y.toUpperCase()
}); });
j = a.currentStyle[d] || a.currentStyle[j]; j = a.currentStyle[d] || a.currentStyle[j];
if (!/^\d+(px)?$/i.test(j) && /^\d/.test(j)) { if (!/^\d+(px)?$/i.test(j) && /^\d/.test(j)) {
d = q.left; d = q.left;
f = a.runtimeStyle.left; f = a.runtimeStyle.left;
a.runtimeStyle.left = a.currentStyle.left; a.runtimeStyle.left = a.currentStyle.left;
q.left = j || 0; q.left = j || 0;
j = q.pixelLeft + "px"; j = q.pixelLeft + "px";
q.left = d; q.left = d;
a.runtimeStyle.left = f a.runtimeStyle.left = f
} }
} }
return j return j
}, },
clean: function clean (a, d, f) { clean: function clean (a, d, f) {
d = d || document; d = d || document;
if (typeof d.createElement === "undefined") d = d.ownerDocument || d[0] && d[0].ownerDocument || document; if (typeof d.createElement === "undefined") d = d.ownerDocument || d[0] && d[0].ownerDocument || document;
if (!f && a.length === 1 && typeof a[0] === "string") { if (!f && a.length === 1 && typeof a[0] === "string") {
var j = /^<(\w+)\s*\/?>$/.exec(a[0]); var j = /^<(\w+)\s*\/?>$/.exec(a[0]);
if (j) return [d.createElement(j[1])] if (j) return [d.createElement(j[1])]
} }
c.each(a, function (y, A) { c.each(a, function (y, A) {
if (typeof A === "number") A += ""; if (typeof A === "number") A += "";
if (A) { if (A) {
if (typeof A === "string") { if (typeof A === "string") {
A = A.replace(/(<(\w+)[^>]*?)\/>/g, function (M, Q, S) { A = A.replace(/(<(\w+)[^>]*?)\/>/g, function (M, Q, S) {
return S.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? M : Q + "></" + S + ">" return S.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? M : Q + "></" + S + ">"
}); });
y = A.replace(/^\s+/, "").substring(0, 10).toLowerCase(); y = A.replace(/^\s+/, "").substring(0, 10).toLowerCase();
var L = !y.indexOf("<opt") && [1, "<select multiple='multiple'>", "</select>"] || !y.indexOf("<leg") && [1, "<fieldset>", "</fieldset>"] || y.match(/^<(thead|tbody|tfoot|colg|cap)/) && [1, "<table>", "</table>"] || !y.indexOf("<tr") && [2, "<table><tbody>", "</tbody></table>"] || (!y.indexOf("<td") || !y.indexOf("<th")) && [3, "<table><tbody><tr>", "</tr></tbody></table>"] || !y.indexOf("<col") && [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"] || !c.support.htmlSerialize && [1, "div<div>", "</div>"] || [0, "", ""]; var L = !y.indexOf("<opt") && [1, "<select multiple='multiple'>", "</select>"] || !y.indexOf("<leg") && [1, "<fieldset>", "</fieldset>"] || y.match(/^<(thead|tbody|tfoot|colg|cap)/) && [1, "<table>", "</table>"] || !y.indexOf("<tr") && [2, "<table><tbody>", "</tbody></table>"] || (!y.indexOf("<td") || !y.indexOf("<th")) && [3, "<table><tbody><tr>", "</tr></tbody></table>"] || !y.indexOf("<col") && [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"] || !c.support.htmlSerialize && [1, "div<div>", "</div>"] || [0, "", ""];
for (t.innerHTML = L[1] + A + L[2]; L[0]--;) t = t.lastChild; for (t.innerHTML = L[1] + A + L[2]; L[0]--;) t = t.lastChild;
if (!c.support.tbody) { if (!c.support.tbody) {
var N = /<tbody/i.test(A); var N = /<tbody/i.test(A);
y = !y.indexOf("<table") && !N ? t.firstChild && t.firstChild.childNodes : L[1] == "<table>" && !N ? t.childNodes : []; y = !y.indexOf("<table") && !N ? t.firstChild && t.firstChild.childNodes : L[1] == "<table>" && !N ? t.childNodes : [];
for (L = y.length - 1; L >= 0; --L) c.nodeName(y[L], "tbody") && !y[L].childNodes.length && y[L].parentNode.removeChild(y[L]) for (L = y.length - 1; L >= 0; --L) c.nodeName(y[L], "tbody") && !y[L].childNodes.length && y[L].parentNode.removeChild(y[L])
}!c.support.leadingWhitespace && /^\s/.test(A) && t.insertBefore(d.createTextNode(A.match(/^\s*/)[0]), t.firstChild); }!c.support.leadingWhitespace && /^\s/.test(A) && t.insertBefore(d.createTextNode(A.match(/^\s*/)[0]), t.firstChild);
A = c.makeArray(t.childNodes) A = c.makeArray(t.childNodes)
} }
if (A.nodeType) q.push(A); if (A.nodeType) q.push(A);
else q = c.merge(q, A) else q = c.merge(q, A)
} }
}); });
if (f) { if (f) {
for (a = 0; q[a]; a++) if (c.nodeName(q[a], "script") && (!q[a].type || q[a].type.toLowerCase() === "text/javascript")) j.push(q[a].parentNode ? q[a].parentNode.removeChild(q[a]) : q[a]); for (a = 0; q[a]; a++) if (c.nodeName(q[a], "script") && (!q[a].type || q[a].type.toLowerCase() === "text/javascript")) j.push(q[a].parentNode ? q[a].parentNode.removeChild(q[a]) : q[a]);
else { else {
q[a].nodeType === 1 && q.splice.apply(q, [a + 1, 0].concat(c.makeArray(q[a].getElementsByTagName("script")))); q[a].nodeType === 1 && q.splice.apply(q, [a + 1, 0].concat(c.makeArray(q[a].getElementsByTagName("script"))));
f.appendChild(q[a]) f.appendChild(q[a])
} }
return j return j
} }
return q return q
}, },
attr: function attr (a, d, f) { attr: function attr (a, d, f) {
if (!(!a || a.nodeType == 3 || a.nodeType == 8)) { if (!(!a || a.nodeType == 3 || a.nodeType == 8)) {
var j = !c.isXMLDoc(a), var j = !c.isXMLDoc(a),
q = f !== void 0; q = f !== void 0;
d = j && c.props[d] || d; d = j && c.props[d] || d;
if (a.tagName) { if (a.tagName) {
var t = /href|src|style/.test(d); var t = /href|src|style/.test(d);
if (d in a && j && !t) { if (d in a && j && !t) {
if (q) { if (q) {
if (d == "type" && c.nodeName(a, "input") && a.parentNode) throw "type property can't be changed"; if (d == "type" && c.nodeName(a, "input") && a.parentNode) throw "type property can't be changed";
a[d] = f a[d] = f
} }
if (c.nodeName(a, "form") && a.getAttributeNode(d)) return a.getAttributeNode(d).nodeValue; if (c.nodeName(a, "form") && a.getAttributeNode(d)) return a.getAttributeNode(d).nodeValue;
if (d == "tabIndex") return (d = a.getAttributeNode("tabIndex")) && d.specified ? d.value : a.nodeName.match(/(button|input|object|select|textarea)/i) ? 0 : a.nodeName.match(/^(a|area)$/i) && a.href ? 0 : void 0; if (d == "tabIndex") return (d = a.getAttributeNode("tabIndex")) && d.specified ? d.value : a.nodeName.match(/(button|input|object|select|textarea)/i) ? 0 : a.nodeName.match(/^(a|area)$/i) && a.href ? 0 : void 0;
return a[d] return a[d]
} }
if (!c.support.style && j && d == "style") return c.attr(a.style, "cssText", f); if (!c.support.style && j && d == "style") return c.attr(a.style, "cssText", f);
q && a.setAttribute(d, "" + f); q && a.setAttribute(d, "" + f);
a = !c.support.hrefNormalized && j && t ? a.getAttribute(d, 2) : a.getAttribute(d); a = !c.support.hrefNormalized && j && t ? a.getAttribute(d, 2) : a.getAttribute(d);
return a === null ? void 0 : a return a === null ? void 0 : a
} }
if (!c.support.opacity && d == "opacity") { if (!c.support.opacity && d == "opacity") {
if (q) { if (q) {
a.zoom = 1; a.zoom = 1;
a.filter = (a.filter || "").replace(/alpha\([^)]*\)/, "") + (parseInt(f) + "" == "NaN" ? "" : "alpha(opacity=" + f * 100 + ")") a.filter = (a.filter || "").replace(/alpha\([^)]*\)/, "") + (parseInt(f) + "" == "NaN" ? "" : "alpha(opacity=" + f * 100 + ")")
} }
return a.filter && a.filter.indexOf("opacity=") >= 0 ? parseFloat(a.filter.match(/opacity=([^)]*)/)[1]) / 100 + "" : "" return a.filter && a.filter.indexOf("opacity=") >= 0 ? parseFloat(a.filter.match(/opacity=([^)]*)/)[1]) / 100 + "" : ""
} }
d = d.replace(/-([a-z])/ig, function (y, A) { d = d.replace(/-([a-z])/ig, function (y, A) {
return A.toUpperCase() return A.toUpperCase()
}); });
if (q) a[d] = f; if (q) a[d] = f;
return a[d] return a[d]
} }
}, },
makeArray: function makeArray (a) { makeArray: function makeArray (a) {
var d = []; var d = [];
if (a != null) { if (a != null) {
var f = a.length; var f = a.length;
if (f == null || typeof a === "string" || c.isFunction(a) || a.setInterval) d[0] = a; if (f == null || typeof a === "string" || c.isFunction(a) || a.setInterval) d[0] = a;
else for (; f;) d[--f] = a[f] else for (; f;) d[--f] = a[f]
} }
return d return d
}, },
inArray: function inArray (a, d) { inArray: function inArray (a, d) {
for (var f = 0, j = d.length; f < j; f++) if (d[f] === a) return f; for (var f = 0, j = d.length; f < j; f++) if (d[f] === a) return f;
return -1 return -1
}, },
merge: function merge (a, d) { merge: function merge (a, d) {
var f = 0, var f = 0,
j, q = a.length; j, q = a.length;
if (c.support.getAll) for (; if (c.support.getAll) for (;
(j = d[f++]) != null;) a[q++] = j; (j = d[f++]) != null;) a[q++] = j;
else for (; else for (;
(j = (j =
d[f++]) != null;) if (j.nodeType != 8) a[q++] = j; d[f++]) != null;) if (j.nodeType != 8) a[q++] = j;
return a return a
}, },
}); });
})(); })();
</script> </script>

View File

@ -1,288 +1,288 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title> <title>Untitled Document</title>
</head> </head>
<script> <script>
(function top () { (function top () {
var c = n.jQuery = n.$ = function dollar (a, d) { var c = n.jQuery = n.$ = function dollar (a, d) {
return new c.fn.init(a, d) return new c.fn.init(a, d)
} }
c.fn = c.prototype = { c.fn = c.prototype = {
init: function init (a, d) { init: function init (a, d) {
a = a || document; a = a || document;
if (a.nodeType) { if (a.nodeType) {
this[0] = a; this[0] = a;
this.length = 1; this.length = 1;
this.context = a; this.context = a;
return this return this
} }
if (typeof a === "string") { if (typeof a === "string") {
var f = r.exec(a); var f = r.exec(a);
if (f && (f[1] || !d)) if (f[1]) a = c.clean([f[1]], d); if (f && (f[1] || !d)) if (f[1]) a = c.clean([f[1]], d);
else { else {
if ((d = document.getElementById(f[3])) && d.id != f[3]) return c().find(a); if ((d = document.getElementById(f[3])) && d.id != f[3]) return c().find(a);
f = c(d || []); f = c(d || []);
f.context = document; f.context = document;
f.selector = a; f.selector = a;
return f return f
} else return c(d).find(a) } else return c(d).find(a)
} else if (c.isFunction(a)) return c(document).ready(a); } else if (c.isFunction(a)) return c(document).ready(a);
if (a.selector && a.context) { if (a.selector && a.context) {
this.selector = this.selector =
a.selector; a.selector;
this.context = a.context this.context = a.context
} }
return this.setArray(c.isArray(a) ? a : c.makeArray(a)) return this.setArray(c.isArray(a) ? a : c.makeArray(a))
} }
}; };
c.extend = c.fn.extend = function extend () { c.extend = c.fn.extend = function extend () {
var a = var a =
arguments[0] || {}, arguments[0] || {},
d = 1, d = 1,
f = arguments.length, f = arguments.length,
j = false, j = false,
q; q;
if (typeof a === "boolean") { if (typeof a === "boolean") {
j = a; j = a;
a = arguments[1] || {}; a = arguments[1] || {};
d = 2 d = 2
} }
if (typeof a !== "object" && !c.isFunction(a)) a = {}; if (typeof a !== "object" && !c.isFunction(a)) a = {};
if (f == d) { if (f == d) {
a = this; a = this;
--d --d
} }
for (; d < f; d++) for (; d < f; d++)
if ((q = arguments[d]) != null) { if ((q = arguments[d]) != null) {
for (var t in q) { for (var t in q) {
(function _forin_body_1(t) { (function _forin_body_1(t) {
var y = a[t], var y = a[t],
A = q[t]; A = q[t];
if (a !== A) if (a !== A)
if (j && A && typeof A === "object" && !A.nodeType) a[t] = c.extend(j, y || (A.length != null ? [] : {}), A); if (j && A && typeof A === "object" && !A.nodeType) a[t] = c.extend(j, y || (A.length != null ? [] : {}), A);
else if (A !== void 0) a[t] = A else if (A !== void 0) a[t] = A
})(t); })(t);
} }
} }
return a return a
}; };
c.extend({ c.extend({
noConflict: function noConflict (a) { noConflict: function noConflict (a) {
n.$ = n.$ =
B; B;
if (a) n.jQuery = w; if (a) n.jQuery = w;
return c return c
}, },
isFunction: 2, isFunction: 2,
each: function each (a, d, f) { each: function each (a, d, f) {
var j, q = 0, var j, q = 0,
t = a.length; t = a.length;
if (f) if (t === void 0) { for (j in a) { if (f) if (t === void 0) { for (j in a) {
if ((function _forin_body_2(j) { if ((function _forin_body_2(j) {
if (d.apply(a[j], f) === false) return true; if (d.apply(a[j], f) === false) return true;
else return false; else return false;
})(j)) { })(j)) {
break; break;
} }
} } else for (; q < t;) { } } else for (; q < t;) {
if (d.apply(a[q++], f) === false) break if (d.apply(a[q++], f) === false) break
} else if (t === void 0) { for (j in a) { } else if (t === void 0) { for (j in a) {
if ((function _forin_body_3(j) { if ((function _forin_body_3(j) {
if (d.call(a[j], j, a[j]) === false) if (d.call(a[j], j, a[j]) === false)
return true; return true;
else else
return false; return false;
})(j)) { })(j)) {
break break
} }
} }
} else for (f = a[0]; q < t && d.call(f, q, f) !== false; f = a[++q]); } else for (f = a[0]; q < t && d.call(f, q, f) !== false; f = a[++q]);
return a return a
}, },
className: { className: {
add: function add (a, d) { add: function add (a, d) {
c.each((d || "").split(/\s+/), function (f, j) { c.each((d || "").split(/\s+/), function (f, j) {
if (a.nodeType == 1 && !c.className.has(a.className, j)) a.className += (a.className ? " " : "") + j if (a.nodeType == 1 && !c.className.has(a.className, j)) a.className += (a.className ? " " : "") + j
}) })
}, },
remove: function remove (a, d) { remove: function remove (a, d) {
if (a.nodeType == 1) a.className = d !== void 0 ? c.grep(a.className.split(/\s+/), function (f) { if (a.nodeType == 1) a.className = d !== void 0 ? c.grep(a.className.split(/\s+/), function (f) {
return !c.className.has(d, f) return !c.className.has(d, f)
}).join(" ") : "" }).join(" ") : ""
}, },
has: function has (a, d) { has: function has (a, d) {
return a && c.inArray(d, (a.className || a).toString().split(/\s+/)) > -1 return a && c.inArray(d, (a.className || a).toString().split(/\s+/)) > -1
} }
}, },
swap: function swap (a, d, f) { swap: function swap (a, d, f) {
var j = {}; var j = {};
for (var q in d) { for (var q in d) {
(function _forin_body_4(q) { (function _forin_body_4(q) {
j[q] = a.style[q]; j[q] = a.style[q];
a.style[q] = d[q] a.style[q] = d[q]
})(q); })(q);
} }
f.call(a); f.call(a);
for (q in d) { for (q in d) {
(function _forin_body_5(q) { (function _forin_body_5(q) {
a.style[q] = j[q] a.style[q] = j[q]
})(q); })(q);
} }
}, },
css: function css (a, d, f, j) { css: function css (a, d, f, j) {
if (d == "width" || d == "height") { if (d == "width" || d == "height") {
var q; var q;
f = { f = {
position: "absolute", position: "absolute",
visibility: "hidden", visibility: "hidden",
display: "block" display: "block"
}; };
var t = d == "width" ? ["Left", "Right"] : ["Top", "Bottom"], var t = d == "width" ? ["Left", "Right"] : ["Top", "Bottom"],
y = function () { y = function () {
q = d == "width" ? a.offsetWidth : a.offsetHeight; q = d == "width" ? a.offsetWidth : a.offsetHeight;
j !== "border" && c.each(t, function () { j !== "border" && c.each(t, function () {
j || (q -= parseFloat(c.curCSS(a, "padding" + this, true)) || 0); j || (q -= parseFloat(c.curCSS(a, "padding" + this, true)) || 0);
if (j === "margin") q += parseFloat(c.curCSS(a, "margin" + this, true)) || 0; if (j === "margin") q += parseFloat(c.curCSS(a, "margin" + this, true)) || 0;
else q -= parseFloat(c.curCSS(a, "border" + this + "Width", true)) || 0 else q -= parseFloat(c.curCSS(a, "border" + this + "Width", true)) || 0
}) })
}; };
a.offsetWidth !== 0 ? y() : c.swap(a, f, y); a.offsetWidth !== 0 ? y() : c.swap(a, f, y);
return Math.max(0, Math.round(q)) return Math.max(0, Math.round(q))
} }
return c.curCSS(a, d, f) return c.curCSS(a, d, f)
}, },
curCSS: function curCSS (a, d, f) { curCSS: function curCSS (a, d, f) {
var j, q = a.style; var j, q = a.style;
if (d == "opacity" && !c.support.opacity) { if (d == "opacity" && !c.support.opacity) {
j = c.attr(q, "opacity"); j = c.attr(q, "opacity");
return j == "" ? "1" : j return j == "" ? "1" : j
} }
if (d.match(/float/i)) d = W; if (d.match(/float/i)) d = W;
if (!f && q && q[d]) j = q[d]; if (!f && q && q[d]) j = q[d];
else if (F.getComputedStyle) { else if (F.getComputedStyle) {
if (d.match(/float/i)) d = "float"; if (d.match(/float/i)) d = "float";
d = d.replace(/([A-Z])/g, "-$1").toLowerCase(); d = d.replace(/([A-Z])/g, "-$1").toLowerCase();
if (a = F.getComputedStyle(a, null)) j = a.getPropertyValue(d); if (a = F.getComputedStyle(a, null)) j = a.getPropertyValue(d);
if (d == "opacity" && j == "") j = "1" if (d == "opacity" && j == "") j = "1"
} else if (a.currentStyle) { } else if (a.currentStyle) {
j = d.replace(/\-(\w)/g, function (t, y) { j = d.replace(/\-(\w)/g, function (t, y) {
return y.toUpperCase() return y.toUpperCase()
}); });
j = a.currentStyle[d] || a.currentStyle[j]; j = a.currentStyle[d] || a.currentStyle[j];
if (!/^\d+(px)?$/i.test(j) && /^\d/.test(j)) { if (!/^\d+(px)?$/i.test(j) && /^\d/.test(j)) {
d = q.left; d = q.left;
f = a.runtimeStyle.left; f = a.runtimeStyle.left;
a.runtimeStyle.left = a.currentStyle.left; a.runtimeStyle.left = a.currentStyle.left;
q.left = j || 0; q.left = j || 0;
j = q.pixelLeft + "px"; j = q.pixelLeft + "px";
q.left = d; q.left = d;
a.runtimeStyle.left = f a.runtimeStyle.left = f
} }
} }
return j return j
}, },
clean: function clean (a, d, f) { clean: function clean (a, d, f) {
d = d || document; d = d || document;
if (typeof d.createElement === "undefined") d = d.ownerDocument || d[0] && d[0].ownerDocument || document; if (typeof d.createElement === "undefined") d = d.ownerDocument || d[0] && d[0].ownerDocument || document;
if (!f && a.length === 1 && typeof a[0] === "string") { if (!f && a.length === 1 && typeof a[0] === "string") {
var j = /^<(\w+)\s*\/?>$/.exec(a[0]); var j = /^<(\w+)\s*\/?>$/.exec(a[0]);
if (j) return [d.createElement(j[1])] if (j) return [d.createElement(j[1])]
} }
c.each(a, function (y, A) { c.each(a, function (y, A) {
if (typeof A === "number") A += ""; if (typeof A === "number") A += "";
if (A) { if (A) {
if (typeof A === "string") { if (typeof A === "string") {
A = A.replace(/(<(\w+)[^>]*?)\/>/g, function (M, Q, S) { A = A.replace(/(<(\w+)[^>]*?)\/>/g, function (M, Q, S) {
return S.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? M : Q + "></" + S + ">" return S.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? M : Q + "></" + S + ">"
}); });
y = A.replace(/^\s+/, "").substring(0, 10).toLowerCase(); y = A.replace(/^\s+/, "").substring(0, 10).toLowerCase();
var L = !y.indexOf("<opt") && [1, "<select multiple='multiple'>", "</select>"] || !y.indexOf("<leg") && [1, "<fieldset>", "</fieldset>"] || y.match(/^<(thead|tbody|tfoot|colg|cap)/) && [1, "<table>", "</table>"] || !y.indexOf("<tr") && [2, "<table><tbody>", "</tbody></table>"] || (!y.indexOf("<td") || !y.indexOf("<th")) && [3, "<table><tbody><tr>", "</tr></tbody></table>"] || !y.indexOf("<col") && [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"] || !c.support.htmlSerialize && [1, "div<div>", "</div>"] || [0, "", ""]; var L = !y.indexOf("<opt") && [1, "<select multiple='multiple'>", "</select>"] || !y.indexOf("<leg") && [1, "<fieldset>", "</fieldset>"] || y.match(/^<(thead|tbody|tfoot|colg|cap)/) && [1, "<table>", "</table>"] || !y.indexOf("<tr") && [2, "<table><tbody>", "</tbody></table>"] || (!y.indexOf("<td") || !y.indexOf("<th")) && [3, "<table><tbody><tr>", "</tr></tbody></table>"] || !y.indexOf("<col") && [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"] || !c.support.htmlSerialize && [1, "div<div>", "</div>"] || [0, "", ""];
for (t.innerHTML = L[1] + A + L[2]; L[0]--;) t = t.lastChild; for (t.innerHTML = L[1] + A + L[2]; L[0]--;) t = t.lastChild;
if (!c.support.tbody) { if (!c.support.tbody) {
var N = /<tbody/i.test(A); var N = /<tbody/i.test(A);
y = !y.indexOf("<table") && !N ? t.firstChild && t.firstChild.childNodes : L[1] == "<table>" && !N ? t.childNodes : []; y = !y.indexOf("<table") && !N ? t.firstChild && t.firstChild.childNodes : L[1] == "<table>" && !N ? t.childNodes : [];
for (L = y.length - 1; L >= 0; --L) c.nodeName(y[L], "tbody") && !y[L].childNodes.length && y[L].parentNode.removeChild(y[L]) for (L = y.length - 1; L >= 0; --L) c.nodeName(y[L], "tbody") && !y[L].childNodes.length && y[L].parentNode.removeChild(y[L])
}!c.support.leadingWhitespace && /^\s/.test(A) && t.insertBefore(d.createTextNode(A.match(/^\s*/)[0]), t.firstChild); }!c.support.leadingWhitespace && /^\s/.test(A) && t.insertBefore(d.createTextNode(A.match(/^\s*/)[0]), t.firstChild);
A = c.makeArray(t.childNodes) A = c.makeArray(t.childNodes)
} }
if (A.nodeType) q.push(A); if (A.nodeType) q.push(A);
else q = c.merge(q, A) else q = c.merge(q, A)
} }
}); });
if (f) { if (f) {
for (a = 0; q[a]; a++) if (c.nodeName(q[a], "script") && (!q[a].type || q[a].type.toLowerCase() === "text/javascript")) j.push(q[a].parentNode ? q[a].parentNode.removeChild(q[a]) : q[a]); for (a = 0; q[a]; a++) if (c.nodeName(q[a], "script") && (!q[a].type || q[a].type.toLowerCase() === "text/javascript")) j.push(q[a].parentNode ? q[a].parentNode.removeChild(q[a]) : q[a]);
else { else {
q[a].nodeType === 1 && q.splice.apply(q, [a + 1, 0].concat(c.makeArray(q[a].getElementsByTagName("script")))); q[a].nodeType === 1 && q.splice.apply(q, [a + 1, 0].concat(c.makeArray(q[a].getElementsByTagName("script"))));
f.appendChild(q[a]) f.appendChild(q[a])
} }
return j return j
} }
return q return q
}, },
attr: function attr (a, d, f) { attr: function attr (a, d, f) {
if (!(!a || a.nodeType == 3 || a.nodeType == 8)) { if (!(!a || a.nodeType == 3 || a.nodeType == 8)) {
var j = !c.isXMLDoc(a), var j = !c.isXMLDoc(a),
q = f !== void 0; q = f !== void 0;
d = j && c.props[d] || d; d = j && c.props[d] || d;
if (a.tagName) { if (a.tagName) {
var t = /href|src|style/.test(d); var t = /href|src|style/.test(d);
if (d in a && j && !t) { if (d in a && j && !t) {
if (q) { if (q) {
if (d == "type" && c.nodeName(a, "input") && a.parentNode) throw "type property can't be changed"; if (d == "type" && c.nodeName(a, "input") && a.parentNode) throw "type property can't be changed";
a[d] = f a[d] = f
} }
if (c.nodeName(a, "form") && a.getAttributeNode(d)) return a.getAttributeNode(d).nodeValue; if (c.nodeName(a, "form") && a.getAttributeNode(d)) return a.getAttributeNode(d).nodeValue;
if (d == "tabIndex") return (d = a.getAttributeNode("tabIndex")) && d.specified ? d.value : a.nodeName.match(/(button|input|object|select|textarea)/i) ? 0 : a.nodeName.match(/^(a|area)$/i) && a.href ? 0 : void 0; if (d == "tabIndex") return (d = a.getAttributeNode("tabIndex")) && d.specified ? d.value : a.nodeName.match(/(button|input|object|select|textarea)/i) ? 0 : a.nodeName.match(/^(a|area)$/i) && a.href ? 0 : void 0;
return a[d] return a[d]
} }
if (!c.support.style && j && d == "style") return c.attr(a.style, "cssText", f); if (!c.support.style && j && d == "style") return c.attr(a.style, "cssText", f);
q && a.setAttribute(d, "" + f); q && a.setAttribute(d, "" + f);
a = !c.support.hrefNormalized && j && t ? a.getAttribute(d, 2) : a.getAttribute(d); a = !c.support.hrefNormalized && j && t ? a.getAttribute(d, 2) : a.getAttribute(d);
return a === null ? void 0 : a return a === null ? void 0 : a
} }
if (!c.support.opacity && d == "opacity") { if (!c.support.opacity && d == "opacity") {
if (q) { if (q) {
a.zoom = 1; a.zoom = 1;
a.filter = (a.filter || "").replace(/alpha\([^)]*\)/, "") + (parseInt(f) + "" == "NaN" ? "" : "alpha(opacity=" + f * 100 + ")") a.filter = (a.filter || "").replace(/alpha\([^)]*\)/, "") + (parseInt(f) + "" == "NaN" ? "" : "alpha(opacity=" + f * 100 + ")")
} }
return a.filter && a.filter.indexOf("opacity=") >= 0 ? parseFloat(a.filter.match(/opacity=([^)]*)/)[1]) / 100 + "" : "" return a.filter && a.filter.indexOf("opacity=") >= 0 ? parseFloat(a.filter.match(/opacity=([^)]*)/)[1]) / 100 + "" : ""
} }
d = d.replace(/-([a-z])/ig, function (y, A) { d = d.replace(/-([a-z])/ig, function (y, A) {
return A.toUpperCase() return A.toUpperCase()
}); });
if (q) a[d] = f; if (q) a[d] = f;
return a[d] return a[d]
} }
}, },
makeArray: function makeArray (a) { makeArray: function makeArray (a) {
var d = []; var d = [];
if (a != null) { if (a != null) {
var f = a.length; var f = a.length;
if (f == null || typeof a === "string" || c.isFunction(a) || a.setInterval) d[0] = a; if (f == null || typeof a === "string" || c.isFunction(a) || a.setInterval) d[0] = a;
else for (; f;) d[--f] = a[f] else for (; f;) d[--f] = a[f]
} }
return d return d
}, },
inArray: function inArray (a, d) { inArray: function inArray (a, d) {
for (var f = 0, j = d.length; f < j; f++) if (d[f] === a) return f; for (var f = 0, j = d.length; f < j; f++) if (d[f] === a) return f;
return -1 return -1
}, },
merge: function merge (a, d) { merge: function merge (a, d) {
var f = 0, var f = 0,
j, q = a.length; j, q = a.length;
if (c.support.getAll) for (; if (c.support.getAll) for (;
(j = d[f++]) != null;) a[q++] = j; (j = d[f++]) != null;) a[q++] = j;
else for (; else for (;
(j = (j =
d[f++]) != null;) if (j.nodeType != 8) a[q++] = j; d[f++]) != null;) if (j.nodeType != 8) a[q++] = j;
return a return a
}, },
}); });
})(); })();
</script> </script>

View File

@ -1,8 +1,8 @@
<HTML> <HTML>
<HEAD> <HEAD>
<script src="2.js"> </script> <script src="2.js"> </script>
</HEAD> </HEAD>
<BODY> <BODY>
asdasd asdasd
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,33 +1,33 @@
<HTML> <HTML>
<TITLE>Welcome!</TITLE> <TITLE>Welcome!</TITLE>
Hi Hi
<SCRIPT> <SCRIPT>
var x = function _f1() { var x = function _f1() {
}; };
function _f2(x) { function _f2(x) {
x(); x();
} }
_f2(window.x); _f2(window.x);
window.z = function _f3() { window.z = function _f3() {
}; };
function _f4(x) { function _f4(x) {
x(); x();
} }
_f4(z); _f4(z);
</SCRIPT> </SCRIPT>
<BR> <BR>
Welcome to our system Welcome to our system
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
#Thu Jan 03 11:24:42 EST 2008 #Thu Jan 03 11:24:42 EST 2008
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,5 +1,5 @@
#Thu Jan 03 11:24:41 EST 2008 #Thu Jan 03 11:24:41 EST 2008
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,5 +1,5 @@
#Thu Oct 11 09:43:08 EDT 2007 #Thu Oct 11 09:43:08 EDT 2007
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,5 +1,5 @@
#Thu Jan 03 11:24:41 EST 2008 #Thu Jan 03 11:24:41 EST 2008
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,5 +1,5 @@
#Thu Jan 03 11:24:42 EST 2008 #Thu Jan 03 11:24:42 EST 2008
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,5 +1,5 @@
#Thu Jan 03 11:24:41 EST 2008 #Thu Jan 03 11:24:41 EST 2008
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package defines utilities to help navigate pointer analysis results. This package defines utilities to help navigate pointer analysis results.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides functions to deal with reflection. This package provides functions to deal with reflection.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,6 +1,6 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides a layer to perform abstract interpretation over This package provides a layer to perform abstract interpretation over
the JVM stack machine. the JVM stack machine.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides intraprocedural type inference over the SSA form. This package provides intraprocedural type inference over the SSA form.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package supports a control-dependence graph. This package supports a control-dependence graph.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides control-flow graph utilities. This package provides control-flow graph utilities.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,6 +1,6 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides functionality related to class loading and This package provides functionality related to class loading and
management of loaded classes. management of loaded classes.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides interfaces for some base utilities for use by WALA clients. This package provides interfaces for some base utilities for use by WALA clients.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides a plugin class for Eclipse integration. This package provides a plugin class for Eclipse integration.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides an RHS solver for IFDS problems. This package provides an RHS solver for IFDS problems.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,6 +1,6 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides some implementations of basic functions needed for This package provides some implementations of basic functions needed for
various call graph construction algorithms. various call graph construction algorithms.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,6 +1,6 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides basic interfaces and functions for call graph This package provides basic interfaces and functions for call graph
construction. construction.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,6 +1,6 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides RTA call graph This package provides RTA call graph
construction. construction.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,6 +1,6 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides the base layer for propagation-based call graph This package provides the base layer for propagation-based call graph
construction and pointer analysis. construction and pointer analysis.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,6 +1,6 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides CFA-style call graph This package provides CFA-style call graph
construction and pointer analysis. construction and pointer analysis.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,6 +1,6 @@
<HTML> <HTML>
<BODY> <BODY>
This package supports interprocedural control-flow graphs, and control-flow This package supports interprocedural control-flow graphs, and control-flow
graphs specialized for context. graphs specialized for context.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides functionality related to class hierarchies. This package provides functionality related to class hierarchies.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides class hierarchy analysis. This package provides class hierarchy analysis.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides analyses over the WALA SSA IR. This package provides analyses over the WALA SSA IR.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides the WALA SSA IR. This package provides the WALA SSA IR.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides abstractions for the Java type system. This package provides abstractions for the Java type system.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides miscellaneous utilities for manipulating bytecode. This package provides miscellaneous utilities for manipulating bytecode.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides miscellaneous utilities for configuration of the analysis. This package provides miscellaneous utilities for configuration of the analysis.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides miscellaneous utilities. This package provides miscellaneous utilities.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides miscellaneous utilities for tracking analysis warnings. This package provides miscellaneous utilities for tracking analysis warnings.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
#Thu Jan 03 11:24:41 EST 2008 #Thu Jan 03 11:24:41 EST 2008
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,5 +1,5 @@
#Mon Jun 22 18:06:02 EDT 2009 #Mon Jun 22 18:06:02 EDT 2009
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/> org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>

View File

@ -1,5 +1,5 @@
#Thu Jan 03 11:24:41 EST 2008 #Thu Jan 03 11:24:41 EST 2008
eclipse.preferences.version=1 eclipse.preferences.version=1
formatter_profile=_WALA formatter_profile=_WALA
formatter_settings_version=11 formatter_settings_version=11
instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true

View File

@ -1,6 +1,6 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides a Killdall-style dataflow layer for a system This package provides a Killdall-style dataflow layer for a system
of equations induced over a graph. of equations induced over a graph.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides general utilities for fixed-point solvers. This package provides general utilities for fixed-point solvers.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
Sets and collections Sets and collections
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
Debugging utilities Debugging utilities
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
Graph implementations Graph implementations
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
Graph interfaces Graph interfaces
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
Graph traversal algorithms Graph traversal algorithms
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
This package provides a utility which analyzes heap usage by heap-walking via reflection. This package provides a utility which analyzes heap usage by heap-walking via reflection.
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
BitVector and vector utilities BitVector and vector utilities
</BODY> </BODY>
</HTML> </HTML>

View File

@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
Math utilities Math utilities
</BODY> </BODY>
</HTML> </HTML>