Skip to content

Commit

Permalink
Release v0.0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Sep 13, 2016
1 parent 7a7dff5 commit 73cd1e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,7 +1,7 @@
{
"name": "hy-res",
"main": "dist/hy-res.js",
"version": "0.0.25",
"version": "0.0.26",
"homepage": "https://github.com/petejohanson/hy-res",
"authors": [
"Peter Johason <peter@peterjohanson.com>"
Expand Down
8 changes: 4 additions & 4 deletions dist/hy-res.js
@@ -1,6 +1,6 @@
/**
* hy-res - Generic hypermedia client supporting several formats
* @version v0.0.25 - 2016-06-10
* @version v0.0.26 - 2016-09-13
* @link https://github.com/petejohanson/hy-res
* @author Pete Johanson <peter@peterjohanson.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -3858,9 +3858,9 @@ var HyRes =
this.$resolved = true;
};

Resource.prototype.$$reject = function(error) {
Resource.prototype.$$reject = function(error, response, context) {
this.$error = error;
this.$resolved = true;
this.$$resolve(response, context);
};

Resource.embedded = function(raw, headers, context, parent) {
Expand Down Expand Up @@ -3894,7 +3894,7 @@ var HyRes =
res.$$resolve(response, context);
return res;
}, function(response) {
res.$$reject({message: 'HTTP request to load resource failed', inner: response });
res.$$reject({message: 'HTTP request to load resource failed', inner: response }, response, context);
throw res;
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "hy-res",
"version": "0.0.25",
"version": "0.0.26",
"description": "Generic hypermedia client supporting several formats",
"keywords": [
"hypermedia",
Expand Down

0 comments on commit 73cd1e0

Please sign in to comment.