camptocamp/cgxp — comment on commit 1f401e8c320582b537018bd2d0d67c57c0027923
File: core/src/script/CGXP/plugins/FullTextSearch.js line 147
By sbrunner:

Ou d'utiliser

Ext.each( Array/NodeList/Mixed array, Function fn, Object scope )

CU
Stéphane

Le 30 novembre 2011 21:56, Éric Lemoine

a écrit :
> It is a good practice to do ```if (obj.hasOwnProperty(prop))``` in a ```for (var prop in obj)``` loop.
>
>
> https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/hasOwnProperty
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/camptocamp/cgxp/commit/1f401e8c320582b537018bd2d0d67c57c0027923#commitcomment-759024
>

--
camptocamp.com
mapfish.org