Closed GoogleCodeExporter closed 8 years ago
the following works with this.xxx approach.
I guess you don't pass the parameters correctly
function domo(){
foo.bar();
}
jQuery(document).ready(domo);
var foo = {
baz: function (){jQuery('#_Shift_n').addClass('dirty')},
bar: function(){jQuery.hotkeys.add('Shift+n', this.baz);}
}
Original comment by Afro.Sys...@gmail.com
on 6 Jan 2008 at 9:47
Original issue reported on code.google.com by
gra...@gmail.com
on 30 Nov 2007 at 1:00