What is the difference bettem context parameter and this?

Skip to first unread message

Rodolfo Paranhos

Feb 12, 2015, 2:22:38 AM2/12/15
to sam...@googlegroups.com
Hello guys, i have just met this great framework and I'm in love with it.

But, I'm still a beginner at coding, so I couldn't understand the diference betten using this or the param 'context' in routes and 'around'.

I even tried to read the source code and got frustrated, haha. 

Thank you!

Rodolfo Paranhos

Feb 16, 2015, 2:04:26 AM2/16/15
to sam...@googlegroups.com
ok, i got it myself again

context is a shortcut parameter that refers to initial context.

use this to avoid using something like var self = this.
Reply all
Reply to author
0 new messages