Skip to content

Commit

Permalink
build lib
Browse files Browse the repository at this point in the history
  • Loading branch information
pghalliday committed Feb 27, 2016
1 parent 55eee4a commit 8ce7892
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ var _uuid2 = _interopRequireDefault(_uuid);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var SemverResolver = exports.SemverResolver = function () {
function SemverResolver(dependencies, getVersions, getDependencies) {
function SemverResolver(params) {
(0, _classCallCheck3.default)(this, SemverResolver);

this.getVersions = getVersions;
this.getDependencies = getDependencies;
var dependencies = params.dependencies;
this.getVersions = params.getVersions;
this.getDependencies = params.getDependencies;
var rootName = _uuid2.default.v4();
this.root = rootName;
var state = this.state = {};
Expand Down

0 comments on commit 8ce7892

Please sign in to comment.