Skip to content

Instantly share code, notes, and snippets.

@mkolb
Created June 13, 2012 20:24
Show Gist options
  • Save mkolb/2926284 to your computer and use it in GitHub Desktop.
Save mkolb/2926284 to your computer and use it in GitHub Desktop.
pop up in YUI
<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