Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100948834
SelfModuleFactory.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 4, 05:39
Size
384 B
Mime Type
text/x-c++
Expires
Thu, Feb 6, 05:39 (2 d)
Engine
blob
Format
Raw Data
Handle
24054122
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
SelfModuleFactory.js
View Options
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
class SelfModuleFactory {
constructor(moduleGraph) {
this.moduleGraph = moduleGraph;
}
create(data, callback) {
const module = this.moduleGraph.getParentModule(data.dependencies[0]);
callback(null, {
module
});
}
}
module.exports = SelfModuleFactory;
Event Timeline
Log In to Comment