Skip to content

Commit

Permalink
Merge pull request #31 from rashidkpc/master
Browse files Browse the repository at this point in the history
Better errors
  • Loading branch information
Rashid Khan committed Apr 5, 2013
2 parents f060be9 + 3c1f945 commit e9ae8be
Show file tree
Hide file tree
Showing 10 changed files with 2,855 additions and 835 deletions.
7 changes: 4 additions & 3 deletions common/lib/elastic-angular-client.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*! elastic.js - v1.0.0 - 2013-01-15
/*! elastic.js - v1.0.0 - 2013-03-05
* https://github.com/fullscale/elastic.js
* Copyright (c) 2013 FullScale Labs, LLC; Licensed MIT */

/*jshint browser:true */
/*global angular:true */
/*jshint es5:true */
'use strict';

/*
Expand All @@ -26,8 +27,8 @@ angular.module('elasticjs.service', [])
(successcb || angular.noop)(response.data);
return response.data;
}, function (response) {
(errorcb || angular.noop)(undefined);
return undefined;
(errorcb || angular.noop)(response.data);
return response.data;
});
};

Expand Down
4 changes: 2 additions & 2 deletions common/lib/elastic-angular-client.min.js

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

Loading

0 comments on commit e9ae8be

Please sign in to comment.