Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
11491 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน

Thanks

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 25
417
0
เม.ย. 20
2412
0
ก.ค. 25
259
1
ก.ค. 25
5030
0
ก.ค. 25
581