From 88ae3775f8c422e71e73f80a623ff5a24b2b8486 Mon Sep 17 00:00:00 2001 From: Lucas Mirelmann Date: Fri, 30 Oct 2015 00:33:47 +0100 Subject: [PATCH] style($http): do not use angular global object to invoke `isObject` --- src/ng/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/http.js b/src/ng/http.js index 09383a409bbd..27f8b62b192d 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -914,7 +914,7 @@ function $HttpProvider() { */ function $http(requestConfig) { - if (!angular.isObject(requestConfig)) { + if (!isObject(requestConfig)) { throw minErr('$http')('badreq', 'Http request configuration must be an object. Received: {0}', requestConfig); }