File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ hw2.include([
3535 } ;
3636 }
3737
38- // for static and traits
3938 function __inherit ( src , dest , staticOnly , __define ) {
4039 var extend = function ( destination , source , extendsStatic ) {
4140 var properties = extendsStatic ? Object . getOwnPropertyNames ( source ) : source ;
@@ -311,7 +310,7 @@ hw2.include([
311310 }
312311 }
313312
314- if ( ! scope . __isTrait && __Object . __isFinal ) {
313+ if ( __Object . __isFinal ) {
315314 //Object.preventExtensions(Obj);
316315 Object . seal ( obj ) ;
317316 }
@@ -609,7 +608,7 @@ hw2.include([
609608 // expose private variable to internal class function
610609 if ( ! isStatic ) {
611610 scope . i = this . __root || this . __scope . __root ;
612- scope . _i = __instMembers . priv ( scope . i ) || this . _i /* alternative this._i for traits*/ ;
611+ scope . _i = __instMembers . priv ( scope . i ) ;
613612
614613 scope . __scope = scope . _i . __scope = scope . i ;
615614 } else {
You can’t perform that action at this time.
0 commit comments