webpack/lib/dependencies/PrefetchDependency.js

15 lines
458 B
JavaScript
Raw Normal View History

2013-05-13 19:34:00 +08:00
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var ModuleDependency = require("./ModuleDependency");
function PrefetchDependency(request) {
ModuleDependency.call(this, request);
}
module.exports = PrefetchDependency;
PrefetchDependency.prototype = Object.create(ModuleDependency.prototype);
PrefetchDependency.prototype.constructor = PrefetchDependency;
2013-05-13 19:34:00 +08:00
PrefetchDependency.prototype.type = "prefetch";