Skip to content

Refactor Notes into ES class syntax

username-removed-636429 requested to merge notes-es-class-syntax into master

Simply converts Notes into a proper es2015 class and replaces all Notes.prototype.xxx with method definitions.

Since this type of change (mostly in indentation) produces a messy diff on gitlab.com, I wanted to do this as a separate MR from the rest of my refactors leading up to #33391 (closed) so that the changes I make from here are easier to understand.

Apart from changing the class definition syntax, nothing else has changed. This should make it easy to review.

Merge request reports