Piotrek Koszuliński
|
5ecd6d8705
Use arrow functions.
|
10 years ago |
Piotrek Koszuliński
|
b0aca27c96
Replaced var with let or const.
|
10 years ago |
Piotrek Koszuliński
|
db80a1fe68
Removed the ability to pass items to the constructor and wrapped the existing option in an options object.
|
10 years ago |
Piotrek Koszuliński
|
39fac39d13
Reimplemented the Collection class.
|
10 years ago |
Aleksander Nowodzinski
|
eb7b462b42
Use NamedCollection Map API in PluginCollection.
|
10 years ago |
Piotrek Koszuliński
|
adbb68a9bc
Rewritten PluginCollection using NamedCollection.
|
10 years ago |
Piotrek Koszuliński
|
e3ef28d0ed
Removed the Promise module.
|
10 years ago |
Piotrek Koszuliński
|
5419065026
Do not forget about stopping function execution after a promise was rejected.
|
10 years ago |
Piotrek Koszuliński
|
139bbc548b
Tests: Added missing tests for a case when we call load() with some undefined or empty value.
|
10 years ago |
Piotrek Koszuliński
|
8006bc059d
Introduced basic mechanism for detecting and firing creators.
|
10 years ago |
Aleksander Nowodzinski
|
a90e12656a
Ensured that plugins loaded into PluginCollection are instances of Plugin.
|
10 years ago |
Aleksander Nowodzinski
|
3724f9720f
Fixes #42.
|
10 years ago |
Piotrek Koszuliński
|
9cbd41d941
Made PluginCollection forward the original error.
|
10 years ago |
Piotrek Koszuliński
|
bf0ed27351
Replaced existing Error() usage with CKEditorError().
|
10 years ago |
Piotrek Koszuliński
|
c43ae0985d
Converted existing classes and tests to ES6 style.
|
10 years ago |
fredck
|
565f63c273
Moved code out of the "mvc" directory.
|
10 years ago |
fredck
|
c6258d91bc
Added missing @return documentation on load().
|
10 years ago |
fredck
|
33eccef9d4
The `load()` method now sets the `path` property of loaded plugins.
|
10 years ago |
fredck
|
2af76b51c1
The init() method of plugins is now called as part of editor.init().
|
10 years ago |
fredck
|
c88e2d1221
Introduced Plugin.deps and automatic loading of dependencies.
|
10 years ago |
fredck
|
4b22904655
Made it possible to retrieve plugins by name.
|
10 years ago |
fredck
|
3432c697b7
Introduced the PluginCollection class.
|
10 years ago |