Browse Source

Merge branch 'dev' of https://github.com/artf/grapesjs into dev

pull/1518/head
Artur Arseniev 7 years ago
parent
commit
1a65b2dd1f
  1. 3
      .travis.yml
  2. 2
      src/canvas/view/CanvasView.js
  3. 2
      src/commands/view/CreateComponent.js
  4. 2
      src/dom_components/model/Component.js
  5. 2
      src/selector_manager/view/ClassTagsView.js

3
.travis.yml

@ -1,3 +1,4 @@
language: node_js
node_js:
- "7.6"
- "8"
- "10"

2
src/canvas/view/CanvasView.js

@ -312,7 +312,7 @@ module.exports = Backbone.View.extend({
view.el.id = id;
view.scriptContainer.html('');
// In editor, I make use of setTimeout as during the append process of elements
// those will not be available immediatly, therefore 'item' variable
// those will not be available immediately, therefore 'item' variable
const script = document.createElement('script');
script.innerHTML = `
setTimeout(function() {

2
src/commands/view/CreateComponent.js

@ -12,7 +12,7 @@ module.exports = _.extend({}, SelectPosition, {
},
/**
* Start with enabling to select position and listening to start drawning
* Start with enabling to select position and listening to start drawing
* @private
* */
enable(...args) {

2
src/dom_components/model/Component.js

@ -31,7 +31,7 @@ const avoidInline = em => em && em.getConfig('avoidInlineStyle');
/**
* The Component object represents a single node of our template structure, so when you update its properties the changes are
* immediatly reflected on the canvas and in the code to export (indeed, when you ask to export the code we just go through all
* immediately reflected on the canvas and in the code to export (indeed, when you ask to export the code we just go through all
* the tree of nodes).
* An example on how to update properties:
* ```js

2
src/selector_manager/view/ClassTagsView.js

@ -163,7 +163,7 @@ module.exports = Backbone.View.extend({
},
/**
* Udpate selector helper
* Update selector helper
* @return {this}
* @private
*/

Loading…
Cancel
Save