Updated elastic.js, improved error text on table

This commit is contained in:
Rashid Khan
2013-04-05 12:11:47 -07:00
parent 68b765789a
commit e9d1fc7b1a
7 changed files with 2801 additions and 792 deletions
+4 -3
View File
@@ -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;
});
};