[FW][FIX] developer/frontend: small typos
closes odoo/documentation#2610 Forward-port-of: odoo/documentation#2584 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
parent
cd9657c3da
commit
ab03f8a9f3
@ -16,9 +16,9 @@ done by adding specific values in the correct registry.
|
|||||||
|
|
||||||
const myRegistry = new Registry();
|
const myRegistry = new Registry();
|
||||||
|
|
||||||
registry.add("hello", "odoo");
|
myRegistry.add("hello", "odoo");
|
||||||
|
|
||||||
console.log(registry.get("hello"));
|
console.log(myRegistry.get("hello"));
|
||||||
|
|
||||||
A useful feature of registries is that they maintain a set of sub registries,
|
A useful feature of registries is that they maintain a set of sub registries,
|
||||||
obtained by the `category` method. If the sub registry does not exist yet, it
|
obtained by the `category` method. If the sub registry does not exist yet, it
|
||||||
|
Loading…
Reference in New Issue
Block a user