lasso
Version:
Lasso.js is a build tool and runtime library for building and bundling all of the resources needed by a web application
22 lines (16 loc) • 514 B
JavaScript
const Dependency = require('./Dependency');
const DependencyRegistry = require('./DependencyRegistry');
exports.Dependency = Dependency;
exports.DependencyRegistry = DependencyRegistry;
exports.createRegistry = function() {
return new DependencyRegistry();
};
exports.isRegistry = function(o) {
return o && o.__DependencyRegistry === true;
};
exports.isDependency = function(d) {
return d && d.__Dependency === true;
};
exports.toString = function () {
return '[lasso@' + __filename + ']';
};