Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 13, 2007
  1. James Coglan

    Tagged 0.9.2 release. Fixes _super reassignment bug and cleans up des…

    jcoglan authored
    …ign - no more __classMethods or manual instance method inheritance. Also adds many more tests.
  2. James Coglan
  3. James Coglan
  4. James Coglan

    Added new tests for modular-style inheritance like that found in Ruby…

    jcoglan authored
    …, in which classes can nest within others. Inheritance system works identically.
Commits on Nov 12, 2007
  1. James Coglan

    Removed need for __classMethods property by introducing Function.clas…

    jcoglan authored
    …sProperties(), which extracts all the individual class methods from a function and returns them as an object.
  2. James Coglan
  3. James Coglan

    Added valueOf and toString methods to this._super definition, which r…

    jcoglan authored
    …eturn values for the parent method being called rather than the _super wrapper.
  4. James Coglan

    Updated documentation.

    jcoglan authored
  5. James Coglan

    Fixed class creation so that default instance methods are added after…

    jcoglan authored
    … subclassing occurs, if and only if they are needed. Includes addition of overwrite parameter to include, method, extend and classMethod. Added tests to show that ChildOfNativeClass has a working is_a method.
  6. James Coglan

    Removed subclass() as a standard class method as it could be dangerou…

    jcoglan authored
    …s. Subclassing is handled by a JS.Class.subclass() now.
  7. James Coglan
  8. James Coglan

    Fixed class method inheritance so that the whole class tree is inspec…

    jcoglan authored
    …ted, so that sub-subclasses of Foo will inherit a new class method on Foo even if their own parents already implement it but they themselves do not.
  9. James Coglan
  10. James Coglan
  11. James Coglan
  12. James Coglan

    Changed inheritance model to use JavaScript's native prototype-chaini…

    jcoglan authored
    …ng model, where a sublclass' prototype is assigned an instance of the superclass so it automatically inherits methods added to the superclass. Removed manual instance method inheritance code.
  13. James Coglan

    Fixed bug with _super reassignment - caused problems where several me…

    jcoglan authored
    …thods in the call stack use _super to refer to different methods. Each method call needs to give _super its original meaning back after completion.
Commits on Nov 11, 2007
  1. James Coglan

    Removed noSuper feature (redundant since addition of Function#callsSu…

    jcoglan authored
    …per) and updated documentation.
  2. James Coglan

    Added Function#callsSuper method that determines whether a particular…

    jcoglan authored
    … function calls this._super. This is used to decide whether to bother wrapping the function in a _super generator, thus automatically boosting performance for functions that don't use _super.
  3. James Coglan
  4. James Coglan
  5. James Coglan

    Updated documentation.

    jcoglan authored
  6. James Coglan

    Added a stack of unit tests.

    jcoglan authored
  7. James Coglan

    Initial import. The bulk of the work is done, but we need unit tests …

    jcoglan authored
    …and some benchmarks to finish up.
  8. James Coglan

    Created folder remotely

    jcoglan authored
Something went wrong with that request. Please try again.