From 38ffe72ed1b18e5130ed80bf2621c82ccefa2019 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Fri, 20 Oct 2017 18:19:49 +0200 Subject: [PATCH 1/5] Updated branches in mgit.json. --- mgit.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mgit.json b/mgit.json index fd7ef89540e..fb01f31f5bd 100644 --- a/mgit.json +++ b/mgit.json @@ -10,26 +10,26 @@ "@ckeditor/ckeditor5-build-classic": "ckeditor/ckeditor5-build-classic", "@ckeditor/ckeditor5-build-inline": "ckeditor/ckeditor5-build-inline", "@ckeditor/ckeditor5-clipboard": "ckeditor/ckeditor5-clipboard", - "@ckeditor/ckeditor5-core": "ckeditor/ckeditor5-core", + "@ckeditor/ckeditor5-core": "ckeditor/ckeditor5-core#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-easy-image": "ckeditor/ckeditor5-easy-image", - "@ckeditor/ckeditor5-editor-balloon": "ckeditor/ckeditor5-editor-balloon", - "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic", + "@ckeditor/ckeditor5-editor-balloon": "ckeditor/ckeditor5-editor-balloon#t/ckeditor5-ui/262", + "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline", "@ckeditor/ckeditor5-engine": "ckeditor/ckeditor5-engine", "@ckeditor/ckeditor5-enter": "ckeditor/ckeditor5-enter", "@ckeditor/ckeditor5-essentials": "ckeditor/ckeditor5-essentials", "@ckeditor/ckeditor5-heading": "ckeditor/ckeditor5-heading", - "@ckeditor/ckeditor5-image": "ckeditor/ckeditor5-image", + "@ckeditor/ckeditor5-image": "ckeditor/ckeditor5-image#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link", "@ckeditor/ckeditor5-list": "ckeditor/ckeditor5-list", "@ckeditor/ckeditor5-markdown-gfm": "ckeditor/ckeditor5-markdown-gfm", "@ckeditor/ckeditor5-paragraph": "ckeditor/ckeditor5-paragraph", "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark", "@ckeditor/ckeditor5-typing": "ckeditor/ckeditor5-typing", - "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui", + "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui#t/262", "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo", "@ckeditor/ckeditor5-upload": "ckeditor/ckeditor5-upload", - "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils", + "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-widget": "ckeditor/ckeditor5-widget" } } From 727fa266d25bf3e0265bd2300eab2b4716c75601 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Mon, 23 Oct 2017 17:39:14 +0200 Subject: [PATCH 2/5] Docs: Updated architecture intro guide with View#setTemplate API. --- docs/framework/guides/architecture/intro.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/guides/architecture/intro.md b/docs/framework/guides/architecture/intro.md index 546bb8ed4b2..e3dd4b619aa 100644 --- a/docs/framework/guides/architecture/intro.md +++ b/docs/framework/guides/architecture/intro.md @@ -383,7 +383,7 @@ class SampleInputView extends View { placeholder: '' } ); - this.template = new Template( { + this.setTemplate( { tag: 'input', attributes: { class: [ @@ -422,7 +422,7 @@ class ParentView extends View { const childA = new SampleInputView( locale ); const childB = new SampleInputView( locale ); - this.template = new Template( { + this.setTemplate( { tag: 'div', children: [ childA From d8ae5dd165ada82db00327e645532afb578aa99b Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Mon, 23 Oct 2017 17:39:26 +0200 Subject: [PATCH 3/5] Updated branches in mgit.json. --- mgit.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mgit.json b/mgit.json index fb01f31f5bd..8708728b651 100644 --- a/mgit.json +++ b/mgit.json @@ -14,21 +14,21 @@ "@ckeditor/ckeditor5-easy-image": "ckeditor/ckeditor5-easy-image", "@ckeditor/ckeditor5-editor-balloon": "ckeditor/ckeditor5-editor-balloon#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic#t/ckeditor5-ui/262", - "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline", + "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-engine": "ckeditor/ckeditor5-engine", "@ckeditor/ckeditor5-enter": "ckeditor/ckeditor5-enter", "@ckeditor/ckeditor5-essentials": "ckeditor/ckeditor5-essentials", - "@ckeditor/ckeditor5-heading": "ckeditor/ckeditor5-heading", + "@ckeditor/ckeditor5-heading": "ckeditor/ckeditor5-heading#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-image": "ckeditor/ckeditor5-image#t/ckeditor5-ui/262", - "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link", + "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-list": "ckeditor/ckeditor5-list", "@ckeditor/ckeditor5-markdown-gfm": "ckeditor/ckeditor5-markdown-gfm", "@ckeditor/ckeditor5-paragraph": "ckeditor/ckeditor5-paragraph", - "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark", + "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-typing": "ckeditor/ckeditor5-typing", "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui#t/262", "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo", - "@ckeditor/ckeditor5-upload": "ckeditor/ckeditor5-upload", + "@ckeditor/ckeditor5-upload": "ckeditor/ckeditor5-upload#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils#t/ckeditor5-ui/262", "@ckeditor/ckeditor5-widget": "ckeditor/ckeditor5-widget" } From a959e792323ff77c346fed94edb10ccdd2357e23 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Tue, 24 Oct 2017 12:03:05 +0200 Subject: [PATCH 4/5] Docs: Updated UI architecture intro guide with the new View#render API. --- docs/framework/guides/architecture/intro.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/framework/guides/architecture/intro.md b/docs/framework/guides/architecture/intro.md index e3dd4b619aa..c67355f7a6b 100644 --- a/docs/framework/guides/architecture/intro.md +++ b/docs/framework/guides/architecture/intro.md @@ -434,18 +434,18 @@ class ParentView extends View { const parent = new ParentView( locale ); -parent.init(); +parent.render(); // Will insert
. document.body.appendChild( parent.element ); ``` -It is also possible to create standalone views that do not belong to any collection. They must be {@link module:ui/view~View#init initialized} before injection into DOM: +It is also possible to create standalone views that do not belong to any collection. They must be {@link module:ui/view~View#render rendered} before injection into DOM: ```js const view = new SampleInputView( locale ); -view.init(); +view.render(); // Will insert document.body.appendChild( view.element ); @@ -625,7 +625,7 @@ toolbar.items.add( buttonBar ); The toolbar can now join the [UI tree](##View-collections-and-the-UI-tree) or it can be injected straight into DOM. To keep the example simple, proceed with the latter scenario: ```js -toolbar.init(); +toolbar.render(); document.body.appendChild( toolbar.element ); ``` From 070157b54678d5659f3b31c6dc79b2a1ca9082d4 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 2 Nov 2017 15:54:22 +0100 Subject: [PATCH 5/5] Reverted branches in mgit.json. --- mgit.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/mgit.json b/mgit.json index 268aca93008..ac33168bb25 100644 --- a/mgit.json +++ b/mgit.json @@ -11,26 +11,26 @@ "@ckeditor/ckeditor5-build-inline": "ckeditor/ckeditor5-build-inline", "@ckeditor/ckeditor5-clipboard": "ckeditor/ckeditor5-clipboard", "@ckeditor/ckeditor5-cloudeservices": "ckeditor/ckeditor5-cloudservices", - "@ckeditor/ckeditor5-core": "ckeditor/ckeditor5-core#t/ckeditor5-ui/262", + "@ckeditor/ckeditor5-core": "ckeditor/ckeditor5-core", "@ckeditor/ckeditor5-easy-image": "ckeditor/ckeditor5-easy-image", - "@ckeditor/ckeditor5-editor-balloon": "ckeditor/ckeditor5-editor-balloon#t/ckeditor5-ui/262", - "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic#t/ckeditor5-ui/262", - "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline#t/ckeditor5-ui/262", + "@ckeditor/ckeditor5-editor-balloon": "ckeditor/ckeditor5-editor-balloon", + "@ckeditor/ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic", + "@ckeditor/ckeditor5-editor-inline": "ckeditor/ckeditor5-editor-inline", "@ckeditor/ckeditor5-engine": "ckeditor/ckeditor5-engine", "@ckeditor/ckeditor5-enter": "ckeditor/ckeditor5-enter", "@ckeditor/ckeditor5-essentials": "ckeditor/ckeditor5-essentials", - "@ckeditor/ckeditor5-heading": "ckeditor/ckeditor5-heading#t/ckeditor5-ui/262", - "@ckeditor/ckeditor5-image": "ckeditor/ckeditor5-image#t/ckeditor5-ui/262", - "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link#t/ckeditor5-ui/262", + "@ckeditor/ckeditor5-heading": "ckeditor/ckeditor5-heading", + "@ckeditor/ckeditor5-image": "ckeditor/ckeditor5-image", + "@ckeditor/ckeditor5-link": "ckeditor/ckeditor5-link", "@ckeditor/ckeditor5-list": "ckeditor/ckeditor5-list", "@ckeditor/ckeditor5-markdown-gfm": "ckeditor/ckeditor5-markdown-gfm", "@ckeditor/ckeditor5-paragraph": "ckeditor/ckeditor5-paragraph", - "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark#t/ckeditor5-ui/262", + "@ckeditor/ckeditor5-theme-lark": "ckeditor/ckeditor5-theme-lark", "@ckeditor/ckeditor5-typing": "ckeditor/ckeditor5-typing", - "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui#t/262", + "@ckeditor/ckeditor5-ui": "ckeditor/ckeditor5-ui", "@ckeditor/ckeditor5-undo": "ckeditor/ckeditor5-undo", - "@ckeditor/ckeditor5-upload": "ckeditor/ckeditor5-upload#t/ckeditor5-ui/262", - "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils#t/ckeditor5-ui/262", + "@ckeditor/ckeditor5-upload": "ckeditor/ckeditor5-upload", + "@ckeditor/ckeditor5-utils": "ckeditor/ckeditor5-utils", "@ckeditor/ckeditor5-widget": "ckeditor/ckeditor5-widget" } }