Skip to content

Commit

Permalink
-1.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonto committed Nov 9, 2013
1 parent 150e7cd commit c0327d3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "restangular",
"version": "1.1.6",
"version": "1.1.7",
"main": "./dist/restangular.min.js",
"description": "Restful Resources service for AngularJS apps",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions dist/restangular.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Restful Resources service for AngularJS apps
* @version v1.1.6 - 2013-11-09
* @version v1.1.7 - 2013-11-09
* @link https://github.com/mgonto/restangular
* @author Martin Gontovnikas <[email protected]>
* @license MIT License, http://www.opensource.org/licenses/MIT
Expand Down Expand Up @@ -474,7 +474,7 @@ module.provider('Restangular', function() {
return resource;
}

BaseCreator.prototype.resource = function(current, $http, $httpConfig, callHeaders, callParams, what, etag, operation) {
BaseCreator.prototype.resource = function(current, $http, localHttpConfig, callHeaders, callParams, what, etag, operation) {

var params = _.defaults(callParams || {}, this.config.defaultRequestParams.common);
var headers = _.defaults(callHeaders || {}, this.config.defaultHeaders);
Expand Down Expand Up @@ -503,7 +503,7 @@ module.provider('Restangular', function() {

url += this.config.suffix;
}
var localHttpConfig = $httpConfig;

current[this.config.restangularFields.httpConfig] = undefined;


Expand Down Expand Up @@ -918,7 +918,7 @@ module.provider('Restangular', function() {
callObj = stripRestangular(callObj);
}
var request = config.fullRequestInterceptor(callObj, operation, route, fetchUrl,
headers || {}, resParams || {});
headers || {}, resParams || {}, this[config.restangularFields.httpConfig] || {});

var okCallback = function(response) {
var resData = response.data;
Expand Down
4 changes: 2 additions & 2 deletions dist/restangular.min.js

Large diffs are not rendered by default.

Binary file modified dist/restangular.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "restangular",
"description": "Restful Resources service for AngularJS apps",
"version": "1.1.6",
"version": "1.1.7",
"filename": "restangular.min.js",
"main": "./dist/restangular.min.js",
"homepage": "https://github.com/mgonto/restangular",
Expand Down

0 comments on commit c0327d3

Please sign in to comment.