jOOPL 1.0.4

Rating: No reviews yet
Downloads: 27
Change Set: 68050
Released: Jun 17, 2011
Updated: Jun 17, 2011 by MFidemraizer
Dev status: Stable Help Icon

Recommended Download

Application joopl.min.js
application, 5K, uploaded Jun 17, 2011 - 27 downloads

Release Notes

This is another pseudo-bugfix release.

After studying current API state, some lack of feature was found: a method in some base class could not call the most specialized version (polymorphism!) of other methods.

For example, some base class A has two methods "X" and "Y". A is inherited by B. Now B overrides A.Y and X, in A, calls Y. This use case was not covered in previous versions.

A sample of that is:

$namespace.register("Sample");

Sample.A = $class.declare(
  function() { },
  { 
       X : function() {
           this.$_.$derived.Y();
       },
      Y : function() {
      }
);

Sample.B = $class.declare(
    function() { },
    {
          Y : function() {
               // Overrides A.Y
          }
    }
);

As it has been said before, this release is like a bug fix, because it's a bug don't having such feature.

Reviews for this release

No reviews yet for this release.