webgui/www/extras/yui/tests/assets/xframe.html
JT Smith 20f8df1291 upgrading to YUI 2.6
data tables are going to need some work yet, but the other stuff seems to be working 100%
2008-10-22 23:53:29 +00:00

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>