Skip to Content
Menú
This question has been flagged
2 Respostes
11417 Vistes

Hello all,

I'm working since many days in the file odoo-8.0-20151203/openerp/addons/point_of_sale/static/src/js/models.js

For example, in this file, we can find these two lines :

            var all_taxes = _(this.compute_all(product_taxes, base)).flatten();
            _(all_taxes).each(function(tax) {
                         [...]


What is the utility of the _ (underscore) in those lines?


Thank for your help.

Avatar
Descartar
Best Answer

Pascal, _(underscore) used in js shows the involvement of a jquery library called Underscore.js you can further refer this link : http://underscorejs.org/

Avatar
Descartar
Autor

Thanks

Related Posts Respostes Vistes Activitat
2
de jul. 25
309
0
d’abr. 20
2377
1
de jul. 25
4806
0
de jul. 25
310
1
de jul. 25
257