Skip to content

Commit

Permalink
Replace connector base with loopback-connector
Browse files Browse the repository at this point in the history
Remove references to Connector and BaseSQL, connectors should require()
loopback-connector instead of loopback-datasource-juggler.
  • Loading branch information
Miroslav Bajtoš committed May 23, 2014
1 parent 5937f0c commit fc758ab
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 571 deletions.
8 changes: 0 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
exports.ModelBuilder = exports.LDL = require('./lib/model-builder.js').ModelBuilder;
exports.DataSource = exports.Schema = require('./lib/datasource.js').DataSource;
exports.ModelBaseClass = require('./lib/model.js');
exports.Connector = require('./lib/connector.js');
exports.ValidationError = require('./lib/validations.js').ValidationError;

var baseSQL = './lib/sql';

exports.__defineGetter__('BaseSQL', function () {
return require(baseSQL);
});


exports.__defineGetter__('version', function () {
return require('./package.json').version;
});
Expand Down
170 changes: 0 additions & 170 deletions lib/connector.js

This file was deleted.

2 changes: 1 addition & 1 deletion lib/connectors/memory.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var util = require('util');
var Connector = require('../connector');
var Connector = require('loopback-connector').Connector;
var geo = require('../geo');
var utils = require('../utils');
var fs = require('fs');
Expand Down
Loading

0 comments on commit fc758ab

Please sign in to comment.