Fix the ref to dataSource

This commit is contained in:
Raymond Feng 2013-07-24 22:57:53 -07:00
parent 9b422752a6
commit adb724e3b2
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ DataSource.prototype._setupConnector = function () {
// Set up the dataSource if the connector doesn't do so // Set up the dataSource if the connector doesn't do so
this.connector.dataSource = this; this.connector.dataSource = this;
} }
var dataSource = this;
this.connector.log = function (query, start) { this.connector.log = function (query, start) {
dataSource.log(query, start); dataSource.log(query, start);
}; };