Code coverage report for lib\dependencies\LocalModule.js

Statements: 100% (10 / 10)      Branches: 100% (0 / 0)      Functions: 100% (3 / 3)      Lines: 100% (10 / 10)      Ignored: none     

All files » lib\dependencies\ » LocalModule.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19        1 131 131 131 131   1   1 70     1 110  
/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Tobias Koppers @sokra
*/
function LocalModule(module, name, idx) {
	this.module = module;
	this.name = name;
	this.idx = idx;
	this.used = false;
}
module.exports = LocalModule;
 
LocalModule.prototype.flagUsed = function() {
	this.used = true;
};
 
LocalModule.prototype.variableName = function() {
	return "__WEBPACK_LOCAL_MODULE_" + this.idx + "__";
};