mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
added comments
This commit is contained in:
1 parent
ddfd0fe074
commit
c369e25cbe
1 file changed
+1
@@ -801,6 +801,7 @@ module ts {
|
||||
if (isListElement(kind, /* inErrorRecovery */ false)) {
|
||||
var element = parseElement();
|
||||
result.push(element);
|
||||
// test elements only if we are not already in strict mode
|
||||
if (!isInStrictMode && checkForStrictMode) {
|
||||
if (isPrologueDirective(element)) {
|
||||
if (isUseStrictPrologueDirective(element)) {
|
||||
|
||||
Reference in new issue
Block a user