parent
09b47d3348
commit
032757a6e5
|
@ -122,8 +122,10 @@ require('./extensions')(realmConstructor);
|
|||
if (realmConstructor.Sync) {
|
||||
if (getContext() === 'nodejs') {
|
||||
nodeRequire('./notifier')(realmConstructor);
|
||||
if (!realmConstructor.Worker) {
|
||||
Object.defineProperty(realmConstructor, 'Worker', {value: nodeRequire('./worker')});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = realmConstructor;
|
||||
|
|
Loading…
Reference in New Issue