Permalink
Browse files

Remove duplicate wire/dom

  • Loading branch information...
1 parent a43135d commit 89118c8c05e8ca339fa36bd55f4ef70b49d7028f @gogamoga gogamoga committed Feb 25, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/dom.md
View
@@ -342,7 +342,7 @@ If you have existing templates that use other template engines, such as [mustach
# Notes on DOMReady
-When you use wire to reference DOM Nodes via any of the DOM-related plugins (e.g. wire/dom, wire/dom, wire/sizzle, etc.), wire will only resolve the DOM Node reference after the DOM is ready. You don't need to worry about DOM Ready--simply reference DOM Nodes or do DOM queries (e.g. via `id!`, `first!`, etc.), and wire will do the right thing.
+When you use wire to reference DOM Nodes via any of the DOM-related plugins (e.g. wire/dom, wire/sizzle, etc.), wire will only resolve the DOM Node reference after the DOM is ready. You don't need to worry about DOM Ready--simply reference DOM Nodes or do DOM queries (e.g. via `id!`, `first!`, etc.), and wire will do the right thing.
To achieve this, wire relies on its AMD environment to provide a `domReady!` plugin. Alternatively, wire will detect a global `require.ready` function for backward compatibility with some loaders (e.g. dojo and older versions of RequireJS).

0 comments on commit 89118c8

Please sign in to comment.