Piotrek Koszuliński
|
30bb9d4fef
Started using utils.mix().
|
vor 10 Jahren |
Aleksander Nowodzinski
|
55078ecf57
Removed obsolete _nextId property.
|
vor 10 Jahren |
Aleksander Nowodzinski
|
bc0e457539
Fixed: A collision between existing items with arbitrary ids and a new item with automatically generated id.
|
vor 10 Jahren |
Aleksander Nowodzinski
|
f4aa282f61
Fixed: Unable to move items with auto–generated ids between Collections.
|
vor 10 Jahren |
Piotr Jasiun
|
435465aeef
Updated copyrights.
|
vor 10 Jahren |
Piotrek Koszuliński
|
1b35d40ec0
Cleanup.
|
vor 10 Jahren |
Piotrek Koszuliński
|
71d26d51f6
First attempt to port src/*.js files.
|
vor 10 Jahren |
Aleksander Nowodzinski
|
a233c2be58
Added an optional index argument to Collection#add with tests.
|
vor 10 Jahren |
Aleksander Nowodzinski
|
b5121708fe
Extended Collection#add() with optional index parameter.
|
vor 10 Jahren |
Piotrek Koszuliński
|
91222d308b
Use arrow functions.
|
vor 10 Jahren |
Piotrek Koszuliński
|
d8cf7fbcf3
Replaced var with let or const.
|
vor 10 Jahren |
Piotrek Koszuliński
|
31a813614b
Made add() chainable.
|
vor 10 Jahren |
Piotrek Koszuliński
|
d44fd57fe5
Removed the ability to pass items to the constructor and wrapped the existing option in an options object.
|
vor 10 Jahren |
Piotrek Koszuliński
|
8ee906072a
Reimplemented the Collection class.
|
vor 10 Jahren |
Piotrek Koszuliński
|
a2d82a81c8
Added forEach, filter and find methods to Collection and NamedCollection.
|
vor 10 Jahren |
Piotrek Koszuliński
|
85396f4e15
Does not throw from get() so we don't need to introduce has().
|
vor 10 Jahren |
Piotrek Koszuliński
|
0eacf6878f
Converted Collection's errors to CKEditorError (I left the one in get() as we're planning to remove it).
|
vor 10 Jahren |
Piotrek Koszuliński
|
8fd6c36789
Introduced NamedCollection.
|
vor 10 Jahren |
Piotrek Koszuliński
|
a5cecbc26c
Converted existing classes and tests to ES6 style.
|
vor 10 Jahren |
Piotr Jasiun
|
357743f6d5
Fixed typo.
|
vor 10 Jahren |
fredck
|
41f9b499d3
Moved code out of the "mvc" directory.
|
vor 10 Jahren |