Ok, got it. Thank you for your quick reply Arian!
Cheers,
Stéphane
On 24/10/2012 10:50, Arian Stolwijk wrote:
(value != null) == (value !== undefined && value !== null).
So != null is usually good enough.
On Wed, Oct 24, 2012 at 10:33 AM, Stéphane
<[email protected] <mailto:[email protected]>>
wrote:
Hello everybody,
I'm in the process of migrating Mootools from 1.2.5 to 1.4.5. As
such, I've been following this official upgrade guide
<https://github.com/mootools/mootools-core/wiki/Upgrade-from-1.2-to-1.3-or-1.4>.
However, it seems there is a little glitch for the following API
change:
$defined => (value != null)
Shouldn't we replace any occurrence of $defined with the following
instead?
$defined => (value != undefined)
This is what exactly what this function was doing before it was
removed.
Thanks for your feedback,
Stéphane