Sha256: 8dc8c67174f36e0afaf90e8a8d42aa561c2a73e7653d12be07827a6cf6408b2c
Contents?: true
Size: 836 Bytes
Versions: 62
Compression:
Stored size: 836 Bytes
Contents
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var AsyncDependenciesBlock = require("../AsyncDependenciesBlock"); var AMDRequireDependency = require("./AMDRequireDependency"); function AMDRequireDependenciesBlock(expr, arrayRange, functionRange, module, loc) { AsyncDependenciesBlock.call(this, null, module, loc); this.expr = expr; this.outerRange = expr.range; this.arrayRange = arrayRange; this.functionRange = functionRange; this.range = arrayRange && functionRange ? [arrayRange[0], functionRange[1]] : arrayRange ? arrayRange : functionRange ? functionRange : expr.range; this.addDependency(new AMDRequireDependency(this)); } module.exports = AMDRequireDependenciesBlock; AMDRequireDependenciesBlock.prototype = Object.create(AsyncDependenciesBlock.prototype);
Version data entries
62 entries across 62 versions & 1 rubygems