mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
26 lines
502 B
JavaScript
26 lines
502 B
JavaScript
var util = require('util');
|
|
var Q = require('q');
|
|
var Resolver = require('../Resolver');
|
|
|
|
var UrlResolver = function (endpoint, options) {
|
|
Resolver.call(this, endpoint, options);
|
|
};
|
|
|
|
util.inherits(UrlResolver, Resolver);
|
|
|
|
// -----------------
|
|
|
|
UrlResolver.prototype._resolveSelf = function () {
|
|
return this._download()
|
|
.then(this._extract.bind(this));
|
|
};
|
|
|
|
UrlResolver.prototype._download = function () {
|
|
|
|
};
|
|
|
|
UrlResolver.prototype._extract = function () {
|
|
|
|
};
|
|
|
|
module.exports = UrlResolver; |