Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

engine priority #131

Merged
merged 1 commit into from

2 participants

@jkroso

The tests pass either way so its not clear what is supposed to be the correct behaviour but it makes sense that the resource specified engine would take priority over the global setting.

@indexzero indexzero merged commit 7f387ee into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 19, 2012
  1. @jkroso

    Resource specific engine patch

    jkroso authored
    just a switch
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/resourceful/core.js
View
2  lib/resourceful/core.js
@@ -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);
Something went wrong with that request. Please try again.