Skip to content

Commit 7b4fe77

Browse files
authored
Revert unrelated TODO changes
Updated the main.js file to include a new TODO function and modified the snippet function documentation. Signed-off-by: d-mahi14 <desaihmahi@gmail.com>
1 parent f35505d commit 7b4fe77

1 file changed

Lines changed: 26 additions & 11 deletions

File tree

tools/snippets/lib/main.js

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,40 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2026 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
119
'use strict';
220

321
// MAIN //
422

523
/**
6-
* Example snippet function which returns the input value unchanged.
7-
*
8-
* This function exists as a simple demonstration utility for tooling
9-
* and documentation examples.
24+
* TODO: description
1025
*
11-
* @param {number} x - input value
12-
* @returns {number} input value
26+
* @param {<TODO: type>} TODO - TODO: param desc
27+
* @returns {<TODO: type>} TODO: desc
1328
*
1429
* @example
15-
* var v = snippet( 2.0 );
16-
* // returns 2.0
30+
* var v = TODO( 0.0 );
31+
* // returns TODO
1732
*/
18-
function snippet( x ) {
19-
return x;
33+
function TODO() {
34+
// TODO: implementation
2035
}
2136

2237

2338
// EXPORTS //
2439

25-
module.exports = snippet;
40+
module.exports = TODO;

0 commit comments

Comments
 (0)