Skip to content

Refactor to make sending PR easier #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 22, 2015
Merged

Refactor to make sending PR easier #2

merged 5 commits into from
Oct 22, 2015

Conversation

zhengbli
Copy link
Contributor

Change the word "dump" to "emit";
Move all the special definitions out of the source code to external json files, to make sending PRs easier;
And other clean-ups.

Change the word "dump" to "emit"; Move all the special definitions out
of the source code to external json files, to make sending PRs easier;
other clean-ups.
@sandersn
Copy link
Member

The refactor looks OK to me. But there's a lot of code churn with no tests. How hard would be it to add a baseline kind of test to assert that refactorings don't change the last-known-good version of the emitted lib?

@zhengbli
Copy link
Contributor Author

@sandersn Good idea. For now I just used the dom.generated.d.ts in TypeScript repo as a baseline, but yeah I should add it here.

@sandersn
Copy link
Member

OK, I added an issue for adding a baseline test. Otherwise looks OK. 👍

zhengbli added a commit that referenced this pull request Oct 22, 2015
Refactor to make sending PR easier
@zhengbli zhengbli merged commit 4389931 into master Oct 22, 2015
@zhengbli zhengbli deleted the makePREasier branch October 23, 2015 09:24
jeffryang24 added a commit to jeffryang24/TSJS-lib-generator that referenced this pull request Jun 15, 2019
sandersn pushed a commit that referenced this pull request Jun 20, 2019
* chore: add system state and capabilities whatwg spec

* feat(idl): add generated widl and commentmap file

* chore(baselines): add generated type

* chore: update baseline

* refactor(baseline): add removed ms-interfaces

* refactor(idlSources): sort idlsource

* refactor(addedTypes): add missing interfaces and MS-specific interfaces

* refactor(overridingTypes): override navigator interface

* refactor(overridingTypes): add missing ms-specific properties in Navigator interface

* chore: update baselines

* refactor(addedTypes): remove redundant interfaces

* chore: update baselines #2

* refactor(addedTypes): remove MSLaunchUriCallback interface

* refactor(knownTypes): add MSLaunchUriCallback inside Window field

* chore: update baselines #3 (with node 12)

* refactor(overridingTypes): restore NavigatorBeacon, activeVRDisplays, and getVRDisplays

* chore: update baselines #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants