PDA

View Full Version : [OPEN] Stop using 'this' in event listener docs



mankz
24 Apr 2017, 1:08 AM
Makes it harder to copy paste code, especially for newcomers to Ext JS / javascript:

'this' is reserved word, change to 'sender' or 'source'


itemcontextmenu ( this , record , item , index , e , eOpts )

LesJ
24 Apr 2017, 5:41 AM
I agree, but from my experience documentation issues reported int this forum are often ignored.

I'd recommend using the documentation (https://www.sencha.com/forum/forumdisplay.php?148-Sencha-Documentation)forum instead.

Gary Schlosberg
25 Apr 2017, 9:25 AM
Thanks for the report! I have opened a documentation request in our bug tracker.