Prototype 1.6 OOP support
October 10th, 2007 by Thomas Fuchs, 2 comments »
Tweet This Post
Digg This Post
Share on Facebook
Tweet This Post
Digg This Post
Share on Facebook

Do you run a web site or web application? Do your users a favor,
and grab our ebook on JavaScript performance.
Profit from our knowledge gathered in over 15 years of working with the Web and JavaScript
and make your sites ultra-fast and your users ultra-happy.
Thanks, nice tutorial!
Please, oh please, can we have another teaser regarding script.aculo.us 2.0? Rounded corners effect? Timeframe? Pleeeeease, anything more concrete
Midway through the tutorial in the section about class methods you have a block of code that reads:
var Captain = Class.create(Pirate, {});
// this is wrong!
Object.extend(Captain, Pirate);
Well, which is it? Which one is wrong, the one above the comment or below? perhaps:
// wrong method
var Captain = Class.create(Pirate, {});
// correct method
Object.extend(Captain, Pirate);
(If that’s the way it is…)