@@ -2098,29 +2098,29 @@ var LibraryEmbind = {
2098
2098
Object . defineProperty ( this , '__parent' , {
2099
2099
value : wrapperPrototype
2100
2100
} ) ;
2101
- this . __construct . apply ( this , arraySlice . call ( arguments ) ) ;
2101
+ this [ " __construct" ] . apply ( this , arraySlice . call ( arguments ) ) ;
2102
2102
} ) ;
2103
2103
2104
2104
// It's a little nasty that we're modifying the wrapper prototype here.
2105
2105
2106
- wrapperPrototype . __construct = function __construct ( ) {
2106
+ wrapperPrototype [ " __construct" ] = function __construct ( ) {
2107
2107
if ( this === wrapperPrototype ) {
2108
2108
throwBindingError ( "Pass correct 'this' to __construct" ) ;
2109
2109
}
2110
2110
2111
- var inner = baseConstructor . implement . apply (
2111
+ var inner = baseConstructor [ " implement" ] . apply (
2112
2112
undefined ,
2113
2113
[ this ] . concat ( arraySlice . call ( arguments ) ) ) ;
2114
2114
var $$ = inner . $$ ;
2115
- inner . notifyOnDestruction ( ) ;
2115
+ inner [ " notifyOnDestruction" ] ( ) ;
2116
2116
$$ . preservePointerOnDelete = true ;
2117
- Object . defineProperty ( this , '$$' , {
2117
+ Object . defineProperties ( this , { $$ : {
2118
2118
value : $$
2119
- } ) ;
2119
+ } } ) ;
2120
2120
registerInheritedInstance ( registeredClass , $$ . ptr , this ) ;
2121
2121
} ;
2122
2122
2123
- wrapperPrototype . __destruct = function __destruct ( ) {
2123
+ wrapperPrototype [ " __destruct" ] = function __destruct ( ) {
2124
2124
if ( this === wrapperPrototype ) {
2125
2125
throwBindingError ( "Pass correct 'this' to __destruct" ) ;
2126
2126
}
0 commit comments