From 69bc7f507b367ce4f9e79f8a62a22d45cdcecf6e Mon Sep 17 00:00:00 2001 From: Logan Volkers Date: Thu, 23 May 2019 14:54:01 -0700 Subject: [PATCH 1/2] Create FUNDING.yml Because GrapesJS is awesome and deserves more funding. --- .github/FUNDING.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..8fa789baa --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# Shows a funding button via Open Collective + +open_collective: grapesjs From dee57497707120784fc993a9b06b88fc6c27937b Mon Sep 17 00:00:00 2001 From: Iegor Azuaga Date: Tue, 28 May 2019 18:22:17 +0200 Subject: [PATCH 2/2] fix typo --- src/dom_components/model/Component.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dom_components/model/Component.js b/src/dom_components/model/Component.js index 9c9032037..04cc42554 100644 --- a/src/dom_components/model/Component.js +++ b/src/dom_components/model/Component.js @@ -757,12 +757,12 @@ const Component = Backbone.Model.extend(Styleable).extend( * @param {Options} opts Options for the add * @return {Array} Array of added traits * @example - * component.addTrat('title', { at: 1 }); // Add title trait (`at` option is the position index) - * component.addTrat({ + * component.addTrait('title', { at: 1 }); // Add title trait (`at` option is the position index) + * component.addTrait({ * type: 'checkbox', * name: 'disabled', * }); - * component.addTrat(['title', {...}, ...]); + * component.addTrait(['title', {...}, ...]); */ addTrait(trait, opts = {}) { const { em } = this;