Thread
:
issues understanding code
View Single Post
12-15-2012, 10:18 PM
PM User
|
#
9
AndrewGSW
Senior Coder
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
Quote:
is there another way to write tool[ev.type]? I don't think tool.ev.type would work, would it?
I don't believe that would work, although I haven't studied the code in depth. But this probably will:
Code:
tool[ev['type']]
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total
uninanonynymity
."
Me Myself & Irene
.
Validate your
HTML
and
CSS
AndrewGSW
View Public Profile
Find More Posts by AndrewGSW