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

Commit 4501da3

Browse files
docs(*): The Bootstrap CSS class alert-error is now alert-danger
1 parent 9b35dfb commit 4501da3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/ng/compile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@
346346
* `templateUrl` declaration or manual compilation inside the compile function.
347347
* </div>
348348
*
349-
* <div class="alert alert-error">
349+
* <div class="alert alert-danger">
350350
* **Note:** The `transclude` function that is passed to the compile function is deprecated, as it
351351
* e.g. does not know about the right outer scope. Please use the transclude function that is passed
352352
* to the link function instead.
@@ -625,7 +625,7 @@
625625
* @param {string|DOMElement} element Element or HTML string to compile into a template function.
626626
* @param {function(angular.Scope, cloneAttachFn=)} transclude function available to directives - DEPRECATED.
627627
*
628-
* <div class="alert alert-error">
628+
* <div class="alert alert-danger">
629629
* **Note:** Passing a `transclude` function to the $compile function is deprecated, as it
630630
* e.g. will not use the right outer scope. Please pass the transclude function as a
631631
* `parentBoundTranscludeFn` to the link function instead.

src/ng/directive/ngInit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* The `ngInit` directive allows you to evaluate an expression in the
1010
* current scope.
1111
*
12-
* <div class="alert alert-error">
12+
* <div class="alert alert-danger">
1313
* The only appropriate use of `ngInit` is for aliasing special properties of
1414
* {@link ng.directive:ngRepeat `ngRepeat`}, as seen in the demo below. Besides this case, you
1515
* should use {@link guide/controller controllers} rather than `ngInit`

src/ngCookies/cookieStore.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ angular.module('ngCookies').
1414
*
1515
* Requires the {@link ngCookies `ngCookies`} module to be installed.
1616
*
17-
* <div class="alert alert-error">
17+
* <div class="alert alert-danger">
1818
* **Note:** The $cookieStore service is deprecated.
1919
* Please use the {@link ngCookies.$cookies `$cookies`} service instead.
2020
* </div>

0 commit comments

Comments
 (0)