From 9f7df4cf7da8f4537436ac4de73a45a05e98021d Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Mon, 7 Aug 2017 15:53:42 -0700 Subject: [PATCH] Fix dom-module API docs with static `import` function Fixes #4740 --- lib/elements/dom-module.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/elements/dom-module.html b/lib/elements/dom-module.html index 0b63bbf1a3..8f785ae865 100644 --- a/lib/elements/dom-module.html +++ b/lib/elements/dom-module.html @@ -42,7 +42,7 @@ * * Then in code in some other location that cannot access the dom-module above * - * let img = document.createElement('dom-module').import('foo', 'img'); + * let img = customElements.get('dom-module').import('foo', 'img'); * * @customElement * @extends HTMLElement