Updated elastic.js, improved error text on table
This commit is contained in:
@@ -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';
|
||||
|
||||
/*
|
||||
@@ -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;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user