Skip to content

Instantly share code, notes, and snippets.

@sergi
Created December 21, 2009 22:32
Show Gist options
  • Save sergi/261309 to your computer and use it in GitHub Desktop.
Save sergi/261309 to your computer and use it in GitHub Desktop.
YUI({ debug: true,
filter: 'debug',
logInclude: { event: true, attribute: true },
timeout: 10000 }).use("node", "attribute", "dd-drag", "dd-drop", "dd-constrain", function(Y) {
Y.Node.prototype.toString = function() { … } // This works
Y.DOM.hasClass = function(node, className) { … } // This doesn't
// Here goes my own code
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment