Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

I/4992: Added support for creating a ViewCollection with initial views #524

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

oleq
Copy link
Member

@oleq oleq commented Oct 16, 2019

Suggested merge commit message (convention)

Feature: Added support for creating a ViewCollection with initial views (see ckeditor/ckeditor5#4992).

BREAKING CHANGE: The parameters of the ViewCollection#constructor have changed. Please refer to the API docs to learn more.

BREAKING CHANGE: The obsolete ViewCollection#locale property has been removed because it was not used anywhere in the codebase.


I figured VC#constructor:

  • violated OOP because (before refac) it had a different constructor interface
  • accepted Locale which wasn't used anywhere, I'm not sure why it existed in the first place (same with the #locale property)

Requires ckeditor/ckeditor5-utils#309

@coveralls
Copy link

coveralls commented Oct 16, 2019

Coverage Status

Coverage decreased (-49.7%) to 50.322% when pulling 003bd92 on i/4992 into ff0af06 on master.

Copy link
Contributor

@jodator jodator left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants