Skip to content

Commit 71e6ccb

Browse files
jbedardNarretz
authored andcommitted
style($templateRequest): rename minError var to avoid name conflict
Closes angular#13701
1 parent 03c5725 commit 71e6ccb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/templateRequest.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var $compileMinErr = minErr('$compile');
3+
var $templateRequestMinErr = minErr('$compile');
44

55
/**
66
* @ngdoc provider
@@ -96,7 +96,7 @@ function $TemplateRequestProvider() {
9696

9797
function handleError(resp) {
9898
if (!ignoreRequestError) {
99-
throw $compileMinErr('tpload', 'Failed to load template: {0} (HTTP status: {1} {2})',
99+
throw $templateRequestMinErr('tpload', 'Failed to load template: {0} (HTTP status: {1} {2})',
100100
tpl, resp.status, resp.statusText);
101101
}
102102
return $q.reject(resp);

0 commit comments

Comments
 (0)