Added listing of the properties bound.

This commit is contained in:
Per Lundberg
2013-05-11 09:51:13 +03:00
committed by Per Lundberg
parent 36bf863329
commit 73b86797c5
+14 -1
View File
@@ -23,7 +23,20 @@
Methods on bound object 'bound':<br />
<ul>
<script type="text/javascript">
for(var name in bound) {
for (var name in bound)
{
if (bound[name].constructor.name != 'Function') continue;
document.write("<li>" + name + "</li>");
}
</script>
</ul>
Properties in bound object 'bound':<br />
<ul>
<script type="text/javascript">
for (var name in bound)
{
if (bound[name].constructor.name == 'Function') continue;
document.write("<li>" + name + "</li>");
}
</script>