Skip to content

Commit 15d7e2a

Browse files
committedJun 24, 2015
Fix global leak
1 parent dcfaba3 commit 15d7e2a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎dist/js-data-sql.js

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ module.exports =
186186
function DSSqlAdapter(options) {
187187
_classCallCheck(this, DSSqlAdapter);
188188

189+
this.defaults = {};
189190
options = options || {};
190191
if (options.__knex__) {
191192
this.query = options;

‎src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ function filterQuery(resourceConfig, params) {
124124

125125
class DSSqlAdapter {
126126
constructor(options) {
127+
this.defaults = {};
127128
options = options || {};
128129
if (options.__knex__) {
129130
this.query = options;

0 commit comments

Comments
 (0)
Please sign in to comment.