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 core/css.js to goog.module syntax #5066

Merged
merged 4 commits into from
Jul 16, 2021

Conversation

moniika
Copy link
Contributor

@moniika moniika commented Jul 15, 2021

The basics

  • I branched from goog_module
  • My pull request is against goog_module
  • My code follows the style guide
  • My code is presented in the form suggested in the module
    conversion guide
  • I have run npm test locally already.

The details

Resolves

Part of #5026

Proposed Changes

Converts core/css.js to goog.module syntax.

@moniika moniika added this to the 2021_q3_release milestone Jul 15, 2021
@moniika moniika requested a review from a team as a code owner July 15, 2021 00:37
@moniika moniika requested a review from gonfunko July 15, 2021 00:37
core/css.js Outdated Show resolved Hide resolved
@@ -78,478 +78,273 @@ const inject = function(hasCss, pathToMedia) {
*/
const CONTENT = [
Copy link
Contributor

Choose a reason for hiding this comment

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

I understand why clang-format did this, but ooph...possibly we want to avoid it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yikes. I'm reverting that commit and I'll see if there's a better way to do this.
I'm thinking either to disable clang for these lines in some way or with a template string.

@moniika moniika marked this pull request as draft July 16, 2021 01:43
@moniika moniika requested a review from gonfunko July 16, 2021 17:05
@moniika moniika marked this pull request as ready for review July 16, 2021 17:05
@moniika moniika merged commit 7aae731 into google:goog_module Jul 16, 2021
@moniika moniika deleted the convert-css branch July 16, 2021 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants