Skip to content
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

Migrate timer into shared service. #4961

Merged
merged 1 commit into from
Sep 13, 2016

Conversation

cramforce
Copy link
Member

Reduces most extensions by about 1KB.

Reduces most extensions by about 1KB.
@jridgewell
Copy link
Contributor

Closes #4545, fixes #4329.

@@ -22,6 +22,8 @@ import {getMode} from '../../src/mode';
import {isExperimentOn, toggleExperiment} from '../../src/experiments';
import {listenOnce} from '../../src/event-helper';
import {onDocumentReady} from '../../src/document-ready';
//TODO(@cramforce): For type. Replace with forward declaration.
import '../../src/service/timer-impl';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this do?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes the compiler happy, because the compilation unit references the type, but not its implementation.

I will soon implement a more general solution to this problem.

@jridgewell
Copy link
Contributor

Want to work on Platform, too?

@cramforce
Copy link
Member Author

@jridgewell Maybe when I'm bored.

@zhouyx
Copy link
Contributor

zhouyx commented Sep 13, 2016

LGTM

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.

3 participants