Better way for extending the Request Class #2228

Closed
ibolmo opened this Issue Jan 19, 2012 · 0 comments

Comments

Projects
None yet
2 participants
@ibolmo
Member

ibolmo commented Jan 19, 2012

(from Lighthouse)

It is very hard to override the send method of the Request Class. it would be better to split it in several functions.

i made up a fiddle as example http://www.jsfiddle.net/cNhTd/

and added 2 new functions: processData() and sendRequest()

What do you think ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment