Permalink
Browse files

Resource specific engine patch

just a switch
  • Loading branch information...
1 parent 8a53ab6 commit c36f7a73098376d426b073c49186217966eb3432 @jkroso jkroso committed Dec 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/resourceful/core.js
View
@@ -71,7 +71,7 @@ resourceful.connect = function (/* [uri], [port], [options] */) {
}
}
else {
- engine = resourceful.engine || this.engine;
+ engine = this.engine || resourceful.engine;
}
this.connection = new(engine)(options);

0 comments on commit c36f7a7

Please sign in to comment.