This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TODOs to fix this-before-super problems.
We're trying to migrate all ES5 subclasses of Closure Library to ES6. In ES6 this cannot be referenced before super is called. These files cannot be automatically upgraded to ES6 as a result. If you have the time please fix these for us and remove the TODO. We'd greatly appreciate it. More information: go/lsc-closure-es5-subclasses-to-es6 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=246907173
- Loading branch information
johnplaisted
committed
May 6, 2019
1 parent
e1a8bc3
commit 97390e9
Showing
18 changed files
with
162 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,15 @@ | |
* @author [email protected] (Robby Walker) | ||
*/ | ||
|
||
|
||
// TODO(b/130421259): We're trying to migrate all ES5 subclasses of Closure | ||
// Library to ES6. In ES6 this cannot be referenced before super is called. This | ||
// file has at least one this before a super call (in ES5) and cannot be | ||
// automatically upgraded to ES6 as a result. Please fix this if you have a | ||
// chance. Note: This can sometimes be caused by not calling the super | ||
// constructor at all. You can run the conversion tool yourself to see what it | ||
// does on this file: blaze run //javascript/refactoring/es6_classes:convert. | ||
|
||
goog.provide('goog.dom.pattern.ChildMatches'); | ||
|
||
goog.require('goog.dom.pattern.AllChildren'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,15 @@ | |
* @author [email protected] (Robby Walker) | ||
*/ | ||
|
||
|
||
// TODO(b/130421259): We're trying to migrate all ES5 subclasses of Closure | ||
// Library to ES6. In ES6 this cannot be referenced before super is called. This | ||
// file has at least one this before a super call (in ES5) and cannot be | ||
// automatically upgraded to ES6 as a result. Please fix this if you have a | ||
// chance. Note: This can sometimes be caused by not calling the super | ||
// constructor at all. You can run the conversion tool yourself to see what it | ||
// does on this file: blaze run //javascript/refactoring/es6_classes:convert. | ||
|
||
goog.provide('goog.dom.pattern.FullTag'); | ||
|
||
goog.require('goog.dom.pattern.MatchType'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,15 @@ | |
* @author [email protected] (Robby Walker) | ||
*/ | ||
|
||
|
||
// TODO(b/130421259): We're trying to migrate all ES5 subclasses of Closure | ||
// Library to ES6. In ES6 this cannot be referenced before super is called. This | ||
// file has at least one this before a super call (in ES5) and cannot be | ||
// automatically upgraded to ES6 as a result. Please fix this if you have a | ||
// chance. Note: This can sometimes be caused by not calling the super | ||
// constructor at all. You can run the conversion tool yourself to see what it | ||
// does on this file: blaze run //javascript/refactoring/es6_classes:convert. | ||
|
||
goog.provide('goog.dom.TextRangeIterator'); | ||
|
||
goog.require('goog.array'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,15 @@ | |
* @author [email protected] (Erik Arvidsson) | ||
*/ | ||
|
||
|
||
// TODO(b/130421259): We're trying to migrate all ES5 subclasses of Closure | ||
// Library to ES6. In ES6 this cannot be referenced before super is called. This | ||
// file has at least one this before a super call (in ES5) and cannot be | ||
// automatically upgraded to ES6 as a result. Please fix this if you have a | ||
// chance. Note: This can sometimes be caused by not calling the super | ||
// constructor at all. You can run the conversion tool yourself to see what it | ||
// does on this file: blaze run //javascript/refactoring/es6_classes:convert. | ||
|
||
goog.provide('goog.graphics.VmlEllipseElement'); | ||
goog.provide('goog.graphics.VmlGroupElement'); | ||
goog.provide('goog.graphics.VmlImageElement'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,15 @@ | |
* | ||
* @author [email protected] (Nathan Naze) Ported to Closure | ||
*/ | ||
|
||
// TODO(b/130421259): We're trying to migrate all ES5 subclasses of Closure | ||
// Library to ES6. In ES6 this cannot be referenced before super is called. This | ||
// file has at least one this before a super call (in ES5) and cannot be | ||
// automatically upgraded to ES6 as a result. Please fix this if you have a | ||
// chance. Note: This can sometimes be caused by not calling the super | ||
// constructor at all. You can run the conversion tool yourself to see what it | ||
// does on this file: blaze run //javascript/refactoring/es6_classes:convert. | ||
|
||
goog.provide('goog.labs.format.csv'); | ||
goog.provide('goog.labs.format.csv.ParseError'); | ||
goog.provide('goog.labs.format.csv.Token'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters