Skip to content

Commit a549355

Browse files
committedJun 24, 2015
Merge pull request #14 from SystemParadox/issue-13
Fix global leak
2 parents 42985e3 + 15d7e2a commit a549355

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
@@ -208,6 +208,7 @@ module.exports =
208208
function DSSqlAdapter(options) {
209209
_classCallCheck(this, DSSqlAdapter);
210210

211+
this.defaults = {};
211212
options = options || {};
212213
if (options.__knex__) {
213214
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.