Skip to content

Commit

Permalink
chore(pkg): release v1.2.2
Browse files Browse the repository at this point in the history
allow first argument in query helper to be array of conditions.
  • Loading branch information
bret.ikehara committed Feb 16, 2016
1 parent 4926658 commit edb2677
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-eve-resource",
"version": "1.2.1",
"version": "1.2.2",
"homepage": "https://github.com/dailymotion/angular-eve-resource",
"authors": [
"Rahul Doshi <rahul.doshi@dailymotion.com>"
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-eve-resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ angular.module('com.dailymotion.ngEveResource', [
angular.module('com.dailymotion.ngEveResource')
.service('eve', function () {
function prepareArgs () {
var args = Array.prototype.slice.call(arguments);
var args = angular.isArray(arguments[0]) ? arguments[0] : Array.prototype.slice.call(arguments);
return args.map(function (arg) {
if (angular.isFunction(arg)) {
return arg();
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-eve-resource.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/angular-eve-resource.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-eve-resource",
"version": "1.2.1",
"version": "1.2.2",
"description": "AngularJS Resource Adapter for Python Eve REST API Framework",
"main": "dist/angular-eve-resource.js",
"scripts": {
Expand Down

0 comments on commit edb2677

Please sign in to comment.