diff options
| author | Ken Sheedlo | 2013-08-09 11:14:37 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-08-09 14:12:04 -0700 |
| commit | 45dc9ee7b4a1e004f9fb7edde41d4805d1402ffa (patch) | |
| tree | a89e5e4eb46c156a7593901a61eb332595e4be96 /src/ngSanitize/sanitize.js | |
| parent | f078762d48d0d5d9796dcdf2cb0241198677582c (diff) | |
| download | angular.js-45dc9ee7b4a1e004f9fb7edde41d4805d1402ffa.tar.bz2 | |
style(minerr): prefer component name as namespace
Closes #3527
Diffstat (limited to 'src/ngSanitize/sanitize.js')
| -rw-r--r-- | src/ngSanitize/sanitize.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngSanitize/sanitize.js b/src/ngSanitize/sanitize.js index 70932899..8220b1f5 100644 --- a/src/ngSanitize/sanitize.js +++ b/src/ngSanitize/sanitize.js @@ -1,6 +1,6 @@ 'use strict'; -var ngSanitizeMinErr = angular.$$minErr('ngSanitize'); +var $sanitizeMinErr = angular.$$minErr('$sanitize'); /** * @ngdoc overview @@ -274,7 +274,7 @@ function htmlParser( html, handler ) { } if ( html == last ) { - throw ngSanitizeMinErr('badparse', "The sanitizer was unable to parse the following block of html: {0}", html); + throw $sanitizeMinErr('badparse', "The sanitizer was unable to parse the following block of html: {0}", html); } last = html; } |
