summaryrefslogtreecommitdiff
path: root/odoo
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-10-30 16:08:04 +0100
committerXavier Morel <xmo@odoo.com>2017-10-30 16:16:41 +0100
commite8dc72fd6941e9a9f2e2e5574ea7dee9c8431e4c (patch)
tree17dd58960d96ad42e3a0d8711e4195af5ce46a0d /odoo
parent9417afa4f6bed89f058b7cc1d739e14833ac1974 (diff)
[FIX] doc: handle unknown browser globals better
Before this, if a new global was added to JS code (module toplevel, function bodies are not considered) it would blow up when attempting to resolve variable refs & uses. Make the toplevel scope a defaultdict such that if e.g. a "foo" is looked up in a module but not a local variable of that module it's assumed to be an UnknownNS object (from which further UnknownNS can be deref'd).
Diffstat (limited to 'odoo')
0 files changed, 0 insertions, 0 deletions