Created
April 2, 2014 15:00
-
-
Save MaxGfeller/9935931 to your computer and use it in GitHub Desktop.
most convenient domready
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var co = require('co'); | |
var thunkify = require('thunkify'); | |
var domready = require('domready'); | |
co(function*() { | |
yield thunkify(domready); | |
// dom is ready | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment