Re: [Sugar-devel] Object oriented programming in JS

2013-07-28 Thread Daniel Narvaez
I like the version without helper more too. Thanks for investigating this! On 24 July 2013 16:37, Manuel Quiñones wrote: > Hi, > > I'm looking the best way to do OOP in JavaScript, which we need in > sugar-web. I don't mind not doing classical OOP. I think we should > aim to do what suits bet

Re: [Sugar-devel] Object oriented programming in JS

2013-07-24 Thread Manuel Quiñones
The spec is here, really: https://github.com/manuq/oop-js/blob/master/spec/SuperHeroSpec.js 2013/7/24 Manuel Quiñones : > The test runner is here: http://manuq.github.io/oop-js/ > > 2013/7/24 Manuel Quiñones : >> Hi, >> >> I'm looking the best way to do OOP in JavaScript, which we need in >> suga

Re: [Sugar-devel] Object oriented programming in JS

2013-07-24 Thread Manuel Quiñones
The test runner is here: http://manuq.github.io/oop-js/ 2013/7/24 Manuel Quiñones : > Hi, > > I'm looking the best way to do OOP in JavaScript, which we need in > sugar-web. I don't mind not doing classical OOP. I think we should > aim to do what suits better the JavaScript language: Prototypal

[Sugar-devel] Object oriented programming in JS

2013-07-24 Thread Manuel Quiñones
Hi, I'm looking the best way to do OOP in JavaScript, which we need in sugar-web. I don't mind not doing classical OOP. I think we should aim to do what suits better the JavaScript language: Prototypal Inheritance. Here is Mozilla documentation: - https://developer.mozilla.org/en-US/docs/Web/