| ||||
Re: Me conviene usar eval aca ? MooTools lo usa como nativo siempre y cuando el browser lo soporte; si no, lo hace a manopla.
__________________ | Cabeza De Raton | |
| ||||
Re: Me conviene usar eval aca ? loading............. Viendo mejor el codigo de mootools pues veo que lo hace igual jeje a mano Código PHP: connection closed.
__________________ Maborak Technologies |
| ||||
Re: Me conviene usar eval aca ? Creo que estas equivocado. Cita: Link indexOf de MooToolsindexOf This method is provided only for browsers without native indexOf support. For more info see http://developer.mozilla.org- /en- /docs- /Core_JavaScript_1.5_Reference:Global_Objects:Array :indexOf indexOf compares a search element to elements of the Array using strict equality (the same method used by the ===, or triple-equals, operator). Dice que el método indexOf sólo para aquellos exploradores que no lo soportan forma nativa. Lo hace con el uso de la función $native del core de mootools: Cita: Link de $nativevar $native = function() Will add a .extend method to the objects passed as a parameter, but the property passed in will be copied to the object’s prototype only if non previously existent. Its handy if you dont want the .extend method of an object to overwrite existing methods. Used automatically in MooTools to implement Array/String/Function/Number methods to browser that dont support them whitout manual checking. Used automatically in MooTools to implement Array/String/Function/Number methods to browser that dont support them whitout manual checking. ... failure connection ...
__________________ | Cabeza De Raton | Última edición por Calisco; 22/04/2008 a las 10:50 |