diff options
| -rw-r--r-- | docs/content/error/compile/uterdir.ngdoc (renamed from docs/content/error/compile/utrat.ngdoc) | 2 | ||||
| -rw-r--r-- | src/ng/compile.js | 6 | ||||
| -rwxr-xr-x | test/ng/compileSpec.js | 4 | 
3 files changed, 6 insertions, 6 deletions
| diff --git a/docs/content/error/compile/utrat.ngdoc b/docs/content/error/compile/uterdir.ngdoc index a6c647bb..c1f263f9 100644 --- a/docs/content/error/compile/utrat.ngdoc +++ b/docs/content/error/compile/uterdir.ngdoc @@ -1,5 +1,5 @@  @ngdoc error -@name $compile:utrat +@name $compile:uterdir  @fullName Unterminated Directive  @description diff --git a/src/ng/compile.js b/src/ng/compile.js index ad979e33..c2eeae27 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -295,7 +295,7 @@ function $CompileProvider($provide) {         *         * @description         * Adds the CSS class value specified by the classVal parameter to the element. If animations -       * are enabled then an animation will be triggered for the class addition.   +       * are enabled then an animation will be triggered for the class addition.         *         * @param {string} classVal The className value that will be added to the element         */ @@ -313,7 +313,7 @@ function $CompileProvider($provide) {         *         * @description         * Removes the CSS class value specified by the classVal parameter from the element. If animations -       * are enabled then an animation will be triggered for the class removal.   +       * are enabled then an animation will be triggered for the class removal.         *         * @param {string} classVal The className value that will be removed from the element         */ @@ -691,7 +691,7 @@ function $CompileProvider($provide) {          var startNode = node;          do {            if (!node) { -            throw $compileMinErr('utrat', "Unterminated attribute, found '{0}' but no matching '{1}' found.", attrStart, attrEnd); +            throw $compileMinErr('uterdir', "Unterminated attribute, found '{0}' but no matching '{1}' found.", attrStart, attrEnd);            }            if (node.nodeType == 1 /** Element **/) {              if (node.hasAttribute(attrStart)) depth++; diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js index 25d2db35..f7f2c51b 100755 --- a/test/ng/compileSpec.js +++ b/test/ng/compileSpec.js @@ -3228,7 +3228,7 @@ describe('$compile', function() {                '<div>' +                  '<span foo-start></span>' +                '</div>'); -        }).toThrow("[$compile:utrat] Unterminated attribute, found 'foo-start' but no matching 'foo-end' found."); +        }).toThrow("[$compile:uterdir] Unterminated attribute, found 'foo-start' but no matching 'foo-end' found.");        });      }); @@ -3246,7 +3246,7 @@ describe('$compile', function() {                '<div>' +                    '<span foo-start><span foo-end></span></span>' +                '</div>'); -        }).toThrow("[$compile:utrat] Unterminated attribute, found 'foo-start' but no matching 'foo-end' found."); +        }).toThrow("[$compile:uterdir] Unterminated attribute, found 'foo-start' but no matching 'foo-end' found.");        });      }); | 
