File tree Expand file tree Collapse file tree 5 files changed +29
-21
lines changed Expand file tree Collapse file tree 5 files changed +29
-21
lines changed Original file line number Diff line number Diff line change 1
1
<!--{
2
2
"title": "@since",
3
3
"out": "tags-since.html",
4
- "description": "[todo] When was this feature added?"
4
+ "description": "When was this feature added?"
5
5
}-->
6
+ <h3>Syntax</h3>
7
+ <code>@since versionDescription</code>
8
+
6
9
<h3>Overview</h3>
7
10
8
- <p>
11
+ <p>The @since tag indicates that a method or property of another class has been added at a given version number.
9
12
</p>
10
13
11
14
<h3>Examples</h3>
12
15
13
- <p>
14
- </p>
15
-
16
- {{#example}}Example goes here
17
- // todo
16
+ {{#example}}
17
+ /** @since version 1.0.1 */
18
+ function foo() {
19
+ }
18
20
{{/example}}
19
21
20
22
<h3>See Also</h3>
21
23
22
24
<ul>
23
- <li><a href="#">... </a></li>
24
- </ul>
25
+ <li><a href="tags-version.html">@version </a></li>
26
+ </ul>
Original file line number Diff line number Diff line change @@ -31,10 +31,11 @@ method1 = function (a,b) {
31
31
<ul>
32
32
<li><a href="tags-author.html">@author</a></li>
33
33
<li><a href="tags-tutorial.html">@tutorial</a></li>
34
+ <li><a href="tags-since.html">@since</a></li>
34
35
</ul>
35
36
36
37
<h5>Contributers to these docs</h5>
37
38
38
39
<ul>
39
40
<li><a href="https://github.com/matthewkastor">matthewkastor</a></li>
40
- </ul>
41
+ </ul>
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ <h2 name="JSDoc3_Tag_Dictionary" id="JSDoc3_Tag_Dictionary">JSDoc 3 Tag Dictiona
260
260
< dd > Documents the author of an item.</ dd > < dt > < a href ="tags-kind.html "> @kind</ a > </ dt >
261
261
< dd > [todo] What kind of object is this?</ dd > < dt > < a href ="tags-member.html "> @member</ a > </ dt >
262
262
< dd > [todo] Document a member.</ dd > < dt > < a href ="tags-since.html "> @since</ a > </ dt >
263
- < dd > [todo] When was this feature added?</ dd > < dt > < a href ="tags-access.html "> @access</ a > </ dt >
263
+ < dd > When was this feature added?</ dd > < dt > < a href ="tags-access.html "> @access</ a > </ dt >
264
264
< dd > Specify the access level of this member - private, public, or protected.</ dd > < dt > < a href ="tags-borrows.html "> @borrows</ a > </ dt >
265
265
< dd > This object uses something from another object.</ dd > < dt > < a href ="tags-mixin.html "> @mixin</ a > </ dt >
266
266
< dd > [todo] Document a mix-in object.</ dd > < dt > < a href ="tags-see.html "> @see</ a > </ dt >
Original file line number Diff line number Diff line change 2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
5
- < meta name ="description " content ="[todo] When was this feature added? "> < title > Use JSDoc: @since</ title >
5
+ < meta name ="description " content ="When was this feature added? "> < title > Use JSDoc: @since</ title >
6
6
7
7
< link rel ="stylesheet " href ="lib/prettify.css " />
8
8
< script src ="lib/prettify.js "> </ script >
176
176
< article >
177
177
< h1 > @since</ h1 >
178
178
179
+ < h3 > Syntax</ h3 >
180
+ < code > @since versionDescription</ code >
181
+
179
182
< h3 > Overview</ h3 >
180
183
181
- < p >
184
+ < p > The @since tag indicates that a method or property of another class has been added at a given version number.
182
185
</ p >
183
186
184
187
< h3 > Examples</ h3 >
185
188
186
- < p >
187
- </ p >
188
-
189
189
< dl class ="example ">
190
- < dt > Example goes here </ dt >
190
+ < dt > </ dt >
191
191
< dd >
192
192
< pre class ="prettyprint lang-js ">
193
- // todo
193
+ /** @since version 1.0.1 */
194
+ function foo() {
195
+ }
194
196
195
197
</ pre >
196
198
</ dd >
197
199
</ dl > < h3 > See Also</ h3 >
198
200
199
201
< ul >
200
- < li > < a href ="# "> ...</ a > </ li >
201
- </ ul >
202
+ < li > < a href ="tags-version.html "> @version</ a > </ li >
203
+ </ ul >
204
+
202
205
</ article >
203
206
204
207
< footer >
Original file line number Diff line number Diff line change @@ -208,13 +208,15 @@ <h3>Examples</h3>
208
208
< ul >
209
209
< li > < a href ="tags-author.html "> @author</ a > </ li >
210
210
< li > < a href ="tags-tutorial.html "> @tutorial</ a > </ li >
211
+ < li > < a href ="tags-since.html "> @since</ a > </ li >
211
212
</ ul >
212
213
213
214
< h5 > Contributers to these docs</ h5 >
214
215
215
216
< ul >
216
217
< li > < a href ="https://github.com/matthewkastor "> matthewkastor</ a > </ li >
217
- </ ul >
218
+ </ ul >
219
+
218
220
</ article >
219
221
220
222
< footer >
You can’t perform that action at this time.
0 commit comments