Permalink
Browse files

Merge pull request #154 from gogamoga/master

Remove duplicate wire/dom
  • Loading branch information...
2 parents a43135d + 89118c8 commit 6f789f59f41a07605935843234cf1a773e929d5b @briancavalier briancavalier 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 6f789f5

Please sign in to comment.