22 lines
476 B
JavaScript
22 lines
476 B
JavaScript
"use strict";
|
|
|
|
var Adaptor = require("../adaptor"),
|
|
Utils = require("../utils");
|
|
|
|
var Loopback = module.exports = function Loopback() {
|
|
Loopback.__super__.constructor.apply(this, arguments);
|
|
};
|
|
|
|
Utils.subclass(Loopback, Adaptor);
|
|
|
|
Loopback.prototype.connect = function(callback) {
|
|
callback();
|
|
};
|
|
|
|
Loopback.prototype.disconnect = function(callback) {
|
|
callback();
|
|
};
|
|
|
|
Loopback.adaptors = ["loopback"];
|
|
Loopback.adaptor = function(opts) { return new Loopback(opts); };
|