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

Commit 69f4d0f

Browse files
rparrapyNarretz
authored andcommitted
docs(ngSwitch): Replace tt tag with code tag
Use of tt is discouraged, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt http://www.w3.org/wiki/HTML/Elements/tt Closes #11509
1 parent 7a04968 commit 69f4d0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/directive/ngSwitch.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
*
4444
* @scope
4545
* @priority 1200
46-
* @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>.
46+
* @param {*} ngSwitch|on expression to match against <code>ng-switch-when</code>.
4747
* On child elements add:
4848
*
4949
* * `ngSwitchWhen`: the case statement to match against. If match then this
@@ -60,7 +60,7 @@
6060
<div ng-controller="ExampleController">
6161
<select ng-model="selection" ng-options="item for item in items">
6262
</select>
63-
<tt>selection={{selection}}</tt>
63+
<code>selection={{selection}}</code>
6464
<hr/>
6565
<div class="animate-switch-container"
6666
ng-switch on="selection">

0 commit comments

Comments
 (0)