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
|
4140d7cd27
Made add() chainable.
|
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 |
Piotrek Koszuliński
|
909c428fff
Added forEach, filter and find methods to Collection and NamedCollection.
|
10 years ago |
Piotrek Koszuliński
|
09a82da84a
Does not throw from get() so we don't need to introduce has().
|
10 years ago |
Piotrek Koszuliński
|
85ca0078a1
Converted Collection's errors to CKEditorError (I left the one in get() as we're planning to remove it).
|
10 years ago |
Piotrek Koszuliński
|
c0defaa215
Introduced NamedCollection.
|
10 years ago |
Piotrek Koszuliński
|
c43ae0985d
Converted existing classes and tests to ES6 style.
|
10 years ago |
Piotr Jasiun
|
5db9c6d06d
Fixed typo.
|
10 years ago |
fredck
|
565f63c273
Moved code out of the "mvc" directory.
|
10 years ago |