Maciej Bukowski
|
db552d9638
Fixed codestyle.
|
6 gadi atpakaļ |
Maciej Bukowski
|
91d3c0bfa9
Removed usage of logger.
|
6 gadi atpakaļ |
Maciej Bukowski
|
2eeae72457
Added error contexts.
|
6 gadi atpakaļ |
Maciej Bukowski
|
ce576047ff
Some error fixes.
|
6 gadi atpakaļ |
Maciej Bukowski
|
d8e642e7de
Added context to thrown `CKEditorError`s.
|
6 gadi atpakaļ |
Kamil Piechaczek
|
bb8aaf2c05
Internal: Updated the license header. See ckeditor/ckeditor5#1557. [skip ci]
|
6 gadi atpakaļ |
Krzysztof Krztoń
|
7de5b50f25
Merge branch 'master' into t/ckeditor5/1477
|
6 gadi atpakaļ |
Krzysztof Krztoń
|
77ccae9056
Remove `ready` event. Merge `plugins.load()` and `plugins.init()` methods.
|
6 gadi atpakaļ |
Kamil Piechaczek
|
6daac3505b
Internal: Bumped the year. [skip ci]
|
6 gadi atpakaļ |
Maciej Gołaszewski
|
3b80af088f
Add plugincollection.has() method.
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
cad318923e
Make plugincollection.get() to throw error instead of logging warning.
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
d47d1f78d2
Add warning message to PluginCollection#get() when plugin is not loaded.
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
6dc04beb0a
Revert "Add warning message to PluginCollection#get() when plugin is not loaded."
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
58ceb8c492
Add warning message to PluginCollection#get() when plugin is not loaded.
|
7 gadi atpakaļ |
Maciej Gołaszewski
|
add2bdbadb
Tests: Properly use sinon sandbox in tests.
|
7 gadi atpakaļ |
Piotrek Koszuliński
|
8e38d477dd
Internal: Bumped the year. [skip ci]
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
c104f2d5f2
Fixed the usage of log.warn().
|
8 gadi atpakaļ |
Kamil Piechaczek
|
f7638055c6
Simplified part of code which logs about loaded duplicated plugins.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
75d8676eee
PluginCollection - will log a warning if tries to load the plugins with the same name more than once.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
ed9d4a7880
Minor improvements in the tests.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
223c6e0071
Fix: PluginCollection.destroy() does not crash if a plugin does not have a "destroy()" method.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
409bf0e894
Improvements for Plugin, PluginCollection and Editor classes. See details.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
faa693dbae
Feature: PluginCollection handles with plugins which do not extend the base Plugin class.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
5cfd89d102
Code style: Switched to ESLint.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
96925186c0
Minor refactoring and docs fixes.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
8a5495603c
Internal: Removed checking whether the dependencies of loaded plugin exist.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
58c6050e5e
Internal: Simplified the logic of `PluginCollection.load()` method.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
27f3426e33
Improved tests.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
294654dc70
Docs and comments fixes.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
48d3f92423
Fix: Name of plugins are optional.
|
8 gadi atpakaļ |