lasso
Version:
Lasso.js is a build tool and runtime library for building and bundling all of the resources needed by a web application
21 lines (16 loc) • 512 B
JavaScript
var Dependency = require('./Dependency');
var 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 + ']';
};