Merge pull request #7 from strongloop/fix/browser

Fix support for browsers
This commit is contained in:
Miroslav Bajtoš 2014-10-10 19:56:18 +02:00
commit 2487cee5e0
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ RemoteConnector.initialize = function(dataSource, callback) {
var connector = dataSource.connector =
new RemoteConnector(dataSource.settings);
connector.connect();
setImmediate(callback);
process.nextTick(callback);
};
RemoteConnector.prototype.define = function(definition) {