From 89118c8c05e8ca339fa36bd55f4ef70b49d7028f Mon Sep 17 00:00:00 2001 From: gogamoga Date: Tue, 25 Feb 2014 03:40:44 +0200 Subject: [PATCH] Remove duplicate wire/dom --- docs/dom.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dom.md b/docs/dom.md index 1514ab8..87c1f82 100644 --- a/docs/dom.md +++ b/docs/dom.md @@ -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).