badgerb1
9 May 2012, 10:34 AM
Hi Guys,
Here's what I'd like to do.
contol:{
'someSelector':{
tap:{
fn:'somefunction',
order:'after'
}
}
}
Doesn't currently work. it throws a "Uncaught TypeError: Object #<Object> has no method 'apply'" error because it's trying to use the entire object as a function. I'll probably just have to add the listener in the initialize function, but was wondering if there was another way.
Thanks
Bob
Here's what I'd like to do.
contol:{
'someSelector':{
tap:{
fn:'somefunction',
order:'after'
}
}
}
Doesn't currently work. it throws a "Uncaught TypeError: Object #<Object> has no method 'apply'" error because it's trying to use the entire object as a function. I'll probably just have to add the listener in the initialize function, but was wondering if there was another way.
Thanks
Bob