Merge pull request #7 from strongloop/fix/browser
Fix support for browsers
This commit is contained in:
commit
2487cee5e0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue