mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
feat(Angular): provide minErr as public property
This allows us to use minErr in other modules, such as resource and sanitize.
This commit is contained in:
parent
cd36cd86fc
commit
ef4458a798
3 changed files with 3 additions and 2 deletions
|
|
@ -44,6 +44,7 @@ function publishExternalAPI(angular){
|
|||
'isNumber': isNumber,
|
||||
'isElement': isElement,
|
||||
'isArray': isArray,
|
||||
'$$minErr': minErr,
|
||||
'version': version,
|
||||
'isDate': isDate,
|
||||
'lowercase': lowercase,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
var ngResourceMinErr = minErr('ngResource');
|
||||
var ngResourceMinErr = angular.$$minErr('ngResource');
|
||||
|
||||
/**
|
||||
* @ngdoc overview
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
var ngSanitizeMinErr = minErr('ngSanitize');
|
||||
var ngSanitizeMinErr = angular.$$minErr('ngSanitize');
|
||||
|
||||
/**
|
||||
* @ngdoc overview
|
||||
|
|
|
|||
Loading…
Reference in a new issue