RE: [Proto-Scripty] Re: class.create question

2010-04-09 Thread Jonathan Rosenberg
Ok, I haven't thought this out fully, but how about Event.addBehavior({ '#foo:click': (function() { someFunc(this)).bind(this) } -- Jonathan Rosenberg Founder Executive Director, Tabby's Place

RE: [Proto-Scripty] Re: class.create question

2010-04-09 Thread Jonathan Rosenberg
Hmmm ... What do you mean by access to #foo? -- Jonathan Rosenberg Founder Executive Director, Tabby's Place http://www.tabbysplace.org/ -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of patrick Sent: