data tables are going to need some work yet, but the other stuff seems to be working 100%
31 lines
709 B
HTML
31 lines
709 B
HTML
<html>
|
|
<head>
|
|
<title>xframe tester</title>
|
|
<script type="text/javascript">
|
|
function FakeArray() {
|
|
// ok, if we put the index in the prototype we could fool
|
|
// YAHOO.lang.isArray as long as the index is never
|
|
// updated. This isn't likely to happen unless someone
|
|
// is trying very hard to break it.
|
|
this.index=0;
|
|
}
|
|
|
|
FakeArray.prototype.splice = function() {
|
|
return this;
|
|
};
|
|
|
|
var str = "string",
|
|
obj = {foo:"bar"},
|
|
fun = function(){},
|
|
arr = ["foo", "bar"],
|
|
far = new FakeArray(),
|
|
boo = false,
|
|
num = 123.123,
|
|
nul = null,
|
|
und;
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1></h1>
|
|
</body>
|
|
</html>
|