Skip to content

Conversation

@mlinksva
Copy link
Contributor

Exactly what the title said. I want to clean up #1139 and perhaps other things and figure simplifying first will help.

Copilot AI review requested due to automatic review settings December 13, 2025 22:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the frontend JavaScript code from CoffeeScript to plain JavaScript (ES6+), modernizing the codebase and simplifying the build pipeline. The migration maintains the same functionality while adopting modern JavaScript syntax including ES6 classes, arrow functions, and template literals.

Key Changes:

  • Converted CoffeeScript classes to ES6 JavaScript classes with proper constructor initialization
  • Replaced CoffeeScript's fat arrow functions with JavaScript arrow functions for proper this context binding
  • Removed jekyll-coffeescript plugin dependency from the build configuration

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
assets/js/app.js New JavaScript file containing the migrated Choosealicense and LicenseSuggestion classes with ES6 syntax
assets/js/app.coffee Removed the original CoffeeScript source file
_config.yml Removed app.coffee from exclude list and jekyll-coffeescript from plugins

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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