source: imaps-frontend/node_modules/webpack/lib/NullFactory.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 637 bytes
Line 
1/*
2 MIT License http://www.opensource.org/licenses/mit-license.php
3 Author Tobias Koppers @sokra
4*/
5
6"use strict";
7
8const ModuleFactory = require("./ModuleFactory");
9
10/** @typedef {import("./ModuleFactory").ModuleFactoryCreateData} ModuleFactoryCreateData */
11/** @typedef {import("./ModuleFactory").ModuleFactoryResult} ModuleFactoryResult */
12
13class NullFactory extends ModuleFactory {
14 /**
15 * @param {ModuleFactoryCreateData} data data object
16 * @param {function((Error | null)=, ModuleFactoryResult=): void} callback callback
17 * @returns {void}
18 */
19 create(data, callback) {
20 return callback();
21 }
22}
23module.exports = NullFactory;
Note: See TracBrowser for help on using the repository browser.