Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ef4458a

Browse files
petebacondarwinksheedlo
authored andcommitted
feat(Angular): provide minErr as public property
This allows us to use minErr in other modules, such as resource and sanitize.
1 parent cd36cd8 commit ef4458a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/AngularPublic.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ function publishExternalAPI(angular){
4444
'isNumber': isNumber,
4545
'isElement': isElement,
4646
'isArray': isArray,
47+
'$$minErr': minErr,
4748
'version': version,
4849
'isDate': isDate,
4950
'lowercase': lowercase,

src/ngResource/resource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var ngResourceMinErr = minErr('ngResource');
3+
var ngResourceMinErr = angular.$$minErr('ngResource');
44

55
/**
66
* @ngdoc overview

src/ngSanitize/sanitize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var ngSanitizeMinErr = minErr('ngSanitize');
3+
var ngSanitizeMinErr = angular.$$minErr('ngSanitize');
44

55
/**
66
* @ngdoc overview

0 commit comments

Comments
 (0)