Skip to content

Instantly share code, notes, and snippets.

@divoxx
Created March 4, 2009 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save divoxx/73930 to your computer and use it in GitHub Desktop.
Save divoxx/73930 to your computer and use it in GitHub Desktop.
Request = Class.refactor(Request, {
Extends: Request,
initialize: function(options) {
this.parent(options)
this.addEvent('complete', function() { alert('foo') })
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment