Maciej Gołaszewski
|
adcfa076de
Tests: Properly use sinon sandbox in tests.
|
7 years ago |
Piotrek Koszuliński
|
cf7a820cc0
Internal: Bumped the year. [skip ci]
|
8 years ago |
Kamil Piechaczek
|
9229d2c957
Aligned tests to changes in "getData()" util. Read more https://github.com/ckeditor/ckeditor5-engine/issues/117.
|
8 years ago |
Aleksander Nowodzinski
|
aa8330cff3
Fix: Template#getViews generator should not traverse native HTML elements. Closes #337.
|
8 years ago |
Aleksander Nowodzinski
|
d8c59cba03
Tests: Cleaned-up DOM after Template tests.
|
8 years ago |
Aleksander Nowodzinski
|
76f714f6ca
Allowed native DOM nodes as children of a Template.
|
8 years ago |
Aleksander Nowodzinski
|
05a272af4b
Created View#setTemplate and View#extendTemplate methods.
|
8 years ago |
Aleksander Nowodzinski
|
20689140b2
Aligned the ViewCollection class to the View#render API. Minor refactoring in View and Template classes.
|
8 years ago |
Aleksander Nowodzinski
|
600e608c8e
Aligned Template class to the View#render API. Changed type of Template#children (ViewCollection->Array). Implemented Template#getViews() generator.
|
8 years ago |
Aleksander Nowodzinski
|
d8179f239d
Tests: Minor code refactoring.
|
8 years ago |
Kamil Piechaczek
|
872e51bb93
Fixed the test.
|
8 years ago |
Kamil Piechaczek
|
8288abba02
Changed type of collection used in "Template" class.
|
8 years ago |
Piotrek Koszuliński
|
a679c2cf96
Aligned the code style.
|
8 years ago |
Aleksander Nowodzinski
|
1963343bb4
Removed unnecessary node presence checks from Template#apply and Template#revert.
|
8 years ago |
Aleksander Nowodzinski
|
daec88a624
Merge branch 'master' into t/152
|
8 years ago |
Aleksander Nowodzinski
|
dc268364db
Tests: Silenced warning in tests output. Closes #151.
|
8 years ago |
Aleksander Nowodzinski
|
ffc914c4f0
Merge branch 'master' into t/152
|
8 years ago |
Aleksander Nowodzinski
|
c731dfcd85
Core–refactoring, massive docs improvements.
|
8 years ago |
Aleksander Nowodzinski
|
db9a91fa42
Template#apply() will extend only style and class attributes.
|
8 years ago |
Aleksander Nowodzinski
|
8faf3d14ed
(Temp) Improved Template#apply() so it preserves original data. Implemented Template#revert()
|
8 years ago |
Aleksander Nowodzinski
|
dbd99d2498
Renamed Template#_rendered -> Template#_isRendered.
|
8 years ago |
Aleksander Nowodzinski
|
9006d648cd
Log when user attempts to extend a Template instance which has already been rendered.
|
9 years ago |
Piotrek Koszuliński
|
dcff3bcc36
Updated imports to use scoped packages.
|
9 years ago |
Piotrek Koszuliński
|
c710d47cd6
Bump up the year.
|
9 years ago |
Aleksander Nowodzinski
|
446a469538
Merge branch 'master' into t/117b
|
9 years ago |
Aleksander Nowodzinski
|
f99ec9dcb5
Extended Template-in-Template TC with assertions to detect 'Maximum call stack size' errors in certain edge–case situations.
|
9 years ago |
Piotrek Koszuliński
|
9f84caa10e
Updated tests – removed bender tags and CSS links.
|
9 years ago |
Aleksander Nowodzinski
|
1d5a738b5f
Allowed Template instance as a child of another Template.
|
9 years ago |
Piotrek Koszuliński
|
66a860ce42
Use package-based paths to modules.
|
9 years ago |
Piotrek Koszuliński
|
1eac7fa899
Moved DomEmitterMixin to utils.
|
9 years ago |