An even better solution that truly returns whether or not an object is undefing
rather than simply nul is:[<pre class="javascript">]
function isUndefined( obj )
{
var undef;
return obj == undef;
}[</pre>]
So:
if ( isUndefined( factory.object ) ) {
etc etc
An even better solution that truly returns whether or not an object is undefing rather than simply nul is:[<pre class="javascript">] function isUndefined( obj ) { var undef; return obj == undef; }[</pre>] So: if ( isUndefined( factory.object ) ) { etc etc
Jake -codestore