Last change
on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
628 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /*
|
---|
| 2 | MIT License http://www.opensource.org/licenses/mit-license.php
|
---|
| 3 | Author Tobias Koppers @sokra
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | "use strict";
|
---|
| 7 |
|
---|
| 8 | const ModuleFactory = require("./ModuleFactory");
|
---|
| 9 |
|
---|
| 10 | /** @typedef {import("./ModuleFactory").ModuleFactoryCreateData} ModuleFactoryCreateData */
|
---|
| 11 | /** @typedef {import("./ModuleFactory").ModuleFactoryResult} ModuleFactoryResult */
|
---|
| 12 |
|
---|
| 13 | class NullFactory extends ModuleFactory {
|
---|
| 14 | /**
|
---|
| 15 | * @param {ModuleFactoryCreateData} data data object
|
---|
| 16 | * @param {function(Error=, ModuleFactoryResult=): void} callback callback
|
---|
| 17 | * @returns {void}
|
---|
| 18 | */
|
---|
| 19 | create(data, callback) {
|
---|
| 20 | return callback();
|
---|
| 21 | }
|
---|
| 22 | }
|
---|
| 23 | module.exports = NullFactory;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.