Sha256: 7ab9535275b7e64471b6512c1a03e9e93330b8ef2ada5ec7254dc8bb8d8bcc78
Contents?: true
Size: 664 Bytes
Versions: 62
Compression:
Stored size: 664 Bytes
Contents
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var NullDependency = require("./NullDependency"); function LabeledExportsDependency(name, pos) { NullDependency.call(this); this.Class = LabeledExportsDependency; this.name = name; this.pos = pos; } module.exports = LabeledExportsDependency; LabeledExportsDependency.prototype = Object.create(NullDependency.prototype); LabeledExportsDependency.Template = function LabeledExportsDependencyTemplate() {}; LabeledExportsDependency.Template.prototype.apply = function(dep, source) { source.insert(dep.pos, "exports[" + JSON.stringify(dep.name) + "] = "); };
Version data entries
62 entries across 62 versions & 1 rubygems