title: browserify and document ready?
body: <p>I'm struggling with using <a href="http://browserify.org/">Browserify</a> and <a href="http://api.jquery.com/ready/">document ready</a> events.  How do I craft a module that exports content only available after the document ready event has fired?  How do I depend on such a module?</p>
  
  <p>My first stab was to try to set module.exports asynchronously -- fail out of the box.  My nextx stab at this was for the module to return a function that took in a callback, and called the callback when document ready fired.  Third attempt returned a promise.  This seems to make dependent modules not very modular as now dependent modules and their dependencies (and theirs, turtles all the way down) must also leverage this pattern.</p>
  
  <p>What's a good pattern for using Browserify and document ready events?</p>