Show
Ignore:
Timestamp:
04/30/08 01:24:46 (4 months ago)
Author:
hannes
Message:

* Change prototype order of model object and Storable. It's more flexible

this way because it allows the model object to keep its prototype chain.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/minibase/trunk/modules/helma/minibase.js

    r8894 r8897  
    7777    }; 
    7878 
    79     object.__proto__ = this; 
    80     return new JSAdapter(object); 
     79    // make object our prototype and wrap self into JSAdapter 
     80    this.__proto__ = object; 
     81    return new JSAdapter(this); 
    8182} 
    8283