I have created the following code http://jsfiddle.net/N65yS/41/ ..
My problem is this.. When I click on the 'draw' button ,for the first time it is working..Succeding clicks on the button is not calling the listener. Why is this happening... Is there any problem with event listeners and object literals.. Why is this strange behaviour happening?
I have given proper comments and some helpful alert messages (and please dont down vote for the alert messages :P)..