File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -465,6 +465,10 @@ export default class Mixin {
465
465
}
466
466
}
467
467
468
+ static _apply ( ) {
469
+ return applyMixin ( ...arguments ) ;
470
+ }
471
+
468
472
static applyPartial ( obj , ...args ) {
469
473
return applyMixin ( obj , args , true ) ;
470
474
}
@@ -573,23 +577,21 @@ export default class Mixin {
573
577
return _keys ( this ) ;
574
578
}
575
579
580
+ toString ( ) {
581
+ return '(unknown mixin)' ;
582
+ }
583
+
576
584
}
577
585
578
- Mixin . _apply = applyMixin ;
579
586
if ( ENV . _ENABLE_BINDING_SUPPORT ) {
580
587
// slotting this so that the legacy addon can add the function here
581
588
// without triggering an error due to the Object.seal done below
582
589
Mixin . finishPartial = null ;
583
590
Mixin . detectBinding = null ;
584
591
}
585
592
586
- let MixinPrototype = Mixin . prototype ;
587
- MixinPrototype . toString = function Mixin_toString ( ) {
588
- return '(unknown mixin)' ;
589
- } ;
590
-
591
593
if ( DEBUG ) {
592
- Object . seal ( MixinPrototype ) ;
594
+ Object . seal ( Mixin . prototype ) ;
593
595
}
594
596
595
597
let unprocessedFlag = false ;
You can’t perform that action at this time.
0 commit comments