Skip to content

Commit 8e036e7

Browse files
committed
Link to official ES5 spec instead of Annotated
1 parent 2b5d91c commit 8e036e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@
9393
% Usage: \opt{token}
9494
% Example: \opt{\lit{,}}
9595

96-
\newcommand{\esref}[2]{\href{https://es5.github.io/\#x#2}{#1}}
97-
% Creates a hyperlink to Annotated ES5 spec.
96+
\newcommand{\esref}[2]{\href{http://www.ecma-international.org/ecma-262/5.1/\#sec-#2}{#1}}
97+
% Creates a hyperlink to ES5 spec.
9898
% Usage: \esref{text}{section}
9999
% Example: \esref{BooleanLiteral}{7.8.2}
100100

references.bib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ @online{es5
1111
date = "2011-06",
1212
shorthand = "ECMA-262",
1313
title = "ECMAScript Language Specification Edition 5.1",
14-
url = "http://www.ecma-international.org/ecma-262/5.1/index.html",
14+
url = "http://www.ecma-international.org/ecma-262/5.1/",
1515
}
1616

1717
@online{rfc7159,

0 commit comments

Comments
 (0)