Current Folder
This commit is contained in:
1 parent
8b3382289b
commit
cfcada880d
4379 files changed
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
'use strict';
|
||||
|
||||
const withIs = require('../../..');
|
||||
|
||||
function ExplicitWithoutNew_() {
|
||||
if (!(this instanceof ExplicitWithoutNew)) {
|
||||
return new ExplicitWithoutNew();
|
||||
}
|
||||
|
||||
this.label = 'ExplicitWithoutNew';
|
||||
}
|
||||
|
||||
ExplicitWithoutNew_.prototype.getLabel = function () {
|
||||
return this.label;
|
||||
};
|
||||
|
||||
const ExplicitWithoutNew = withIs.proto(ExplicitWithoutNew_, {
|
||||
className: 'ExplicitWithoutNew',
|
||||
symbolName: '@org/package/ExplicitWithoutNew',
|
||||
});
|
||||
|
||||
module.exports = ExplicitWithoutNew;
|
||||
module.exports.WrappedClass = ExplicitWithoutNew_;
|
||||
Reference in new issue
Block a user