Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3051 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

Some examples in the OCA will help you.

github.com/OCA/web/

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 23
2995
3
lug 21
5305
1
mag 23
2456
2
mag 19
5597
2
apr 19
3467