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

Hi

i have a javascript file and it has options.registry['some_thing'] = options.Class.extend({.............}) in it

so i want to override this in another JS file(let's call it custom.js) but in console it rejects my custom.js file by logging Rejected Modules {custom.js}

is there a way to override this?

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

Some examples in the OCA will help you.

github.com/OCA/web/

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 23
3010
Override JS mail แก้ไขแล้ว
3
ก.ค. 21
5316
1
พ.ค. 23
2470
2
พ.ค. 19
5615
2
เม.ย. 19
3483