oups. sorry, referenced foo. too early :( this is the actual polyfill i'd
add after adding mootools. you can kind of detect if Object.defineProperty
is there also.

    (function(){
        // set mootools expandos to non-enumerables under ES5
        var key,
            a = [],
            enums = { enumerable: false };

        for (key in a) a.hasOwnProperty(key) ||
Object.defineProperty(Array.prototype, key, enums);
    }());



On 27 May 2013 09:49, Sanford Whiteman <[email protected]> wrote:

> Very nice!
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "MooTools Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
Dimitar Christoff

"JavaScript is to JAVA what hamster is to ham"
@D_mitar - https://github.com/DimitarChristoff

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to