Skip to content

Commit 9e5d783

Browse files
Copilotfengmk2
andcommitted
fix: keep URLs lowercase in comments, capitalize non-URL code references
Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com>
1 parent 5b8f447 commit 9e5d783

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/number.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Http://www.2ality.com/2013/10/safe-integers.html
2-
// Http://es6.ruanyifeng.com/#docs/number
1+
// http://www.2ality.com/2013/10/safe-integers.html
2+
// http://es6.ruanyifeng.com/#docs/number
33
export const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1;
44
export const MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;
55
export const MAX_SAFE_INTEGER_STR = String(MAX_SAFE_INTEGER);

test/web.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('test/web.test.ts', () => {
3333
const texts = [
3434
'foo', '中文', '数字',
3535
'%',
36-
// Http://cnodejs.org/topic/4fd6b7ba839e1e581407aac8
36+
// http://cnodejs.org/topic/4fd6b7ba839e1e581407aac8
3737
String.fromCharCode(0xDFFF),
3838
123, 0, 1, Math.pow(2, 53),
3939
null, undefined,

0 commit comments

Comments
 (0)