Remove juggler references
This commit is contained in:
parent
37654efc62
commit
83b871ad7c
|
@ -5,7 +5,7 @@ var crypto = require('crypto');
|
|||
/**
|
||||
* Initialize the Transient connector against the given data source
|
||||
*
|
||||
* @param {DataSource} dataSource The loopback-datasource-juggler dataSource
|
||||
* @param {DataSource} dataSource The data source
|
||||
* @param {Function} [callback] The callback function
|
||||
*/
|
||||
exports.initialize = function initializeDataSource(dataSource, callback) {
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
"devDependencies": {
|
||||
"chai": "~2.3.0",
|
||||
"jshint": "^2.7.0",
|
||||
"loopback-datasource-juggler": "^2.29.0",
|
||||
"mocha": "^2.2.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
var DataSource = require('..').DataSource;
|
||||
var expect = require('chai').expect;
|
||||
var testConnector = require('./connectors/test-sql-connector');
|
||||
|
||||
var juggler = require('loopback-datasource-juggler');
|
||||
var ds = new juggler.DataSource({
|
||||
var ds = new DataSource({
|
||||
connector: testConnector,
|
||||
debug: true
|
||||
});
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
var DataSource = require('..').DataSource;
|
||||
var expect = require('chai').expect;
|
||||
var SQLConnector = require('../lib/sql');
|
||||
var ParameterizedSQL = SQLConnector.ParameterizedSQL;
|
||||
var testConnector = require('./connectors/test-sql-connector');
|
||||
|
||||
var juggler = require('loopback-datasource-juggler');
|
||||
var ds = new juggler.DataSource({
|
||||
var ds = new DataSource({
|
||||
connector: testConnector,
|
||||
debug: true
|
||||
});
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
var Transaction = require('../index').Transaction;
|
||||
|
||||
var DataSource = require('..').DataSource;
|
||||
var expect = require('chai').expect;
|
||||
var testConnector = require('./connectors/test-sql-connector');
|
||||
var Transaction = require('../index').Transaction;
|
||||
|
||||
var juggler = require('loopback-datasource-juggler');
|
||||
|
||||
var db, Post;
|
||||
var db;
|
||||
var Post;
|
||||
var Review;
|
||||
|
||||
describe('transactions', function() {
|
||||
|
||||
before(function(done) {
|
||||
db = new juggler.DataSource({
|
||||
db = new DataSource({
|
||||
connector: testConnector,
|
||||
debug: true
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue