Created
June 13, 2012 20:24
-
-
Save mkolb/2926284 to your computer and use it in GitHub Desktop.
pop up in YUI
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
<script type="text/javascript">// <![CDATA[ | |
YUI().use('node', function(Y) { | |
function init() { | |
// The DOM is ready, lets say hello! | |
say_hello(); | |
} | |
Y.on("domready", init); | |
}); | |
function say_hello() { | |
alert('Testing from Matt'); | |
} | |
// ]]></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment