Browse Source

Build

pull/2977/head
Artur Arseniev 6 years ago
parent
commit
f20decd8d5
  1. 8
      dist/grapes.js
  2. 6
      dist/grapes.min.js
  3. 2
      dist/grapes.min.js.map
  4. 2
      package-lock.json
  5. 2
      package.json

8
dist/grapes.js

@ -31454,6 +31454,7 @@ var Component = backbone__WEBPACK_IMPORTED_MODULE_5___default.a.Model.extend(dom
/** /**
* Update attributes of the component * Update attributes of the component
* @param {Object} attrs Key value attributes * @param {Object} attrs Key value attributes
* @param {Object} options Options for the model update
* @return {this} * @return {this}
* @example * @example
* component.setAttributes({ id: 'test', 'data-key': 'value' }); * component.setAttributes({ id: 'test', 'data-key': 'value' });
@ -31467,14 +31468,17 @@ var Component = backbone__WEBPACK_IMPORTED_MODULE_5___default.a.Model.extend(dom
/** /**
* Add attributes to the component * Add attributes to the component
* @param {Object} attrs Key value attributes * @param {Object} attrs Key value attributes
* @param {Object} options Options for the model update
* @return {this} * @return {this}
* @example * @example
* component.addAttributes({ 'data-key': 'value' }); * component.addAttributes({ 'data-key': 'value' });
*/ */
addAttributes: function addAttributes(attrs) { addAttributes: function addAttributes(attrs) {
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var newAttrs = _objectSpread({}, this.getAttributes(), {}, attrs); var newAttrs = _objectSpread({}, this.getAttributes(), {}, attrs);
this.setAttributes(newAttrs); this.setAttributes(newAttrs, opts);
return this; return this;
}, },
@ -39024,7 +39028,7 @@ var defaultConfig = {
editors: editors, editors: editors,
plugins: plugins, plugins: plugins,
// Will be replaced on build // Will be replaced on build
version: '0.16.19', version: '0.16.20',
/** /**
* Initialize the editor with passed options * Initialize the editor with passed options

6
dist/grapes.min.js

File diff suppressed because one or more lines are too long

2
dist/grapes.min.js.map

File diff suppressed because one or more lines are too long

2
package-lock.json

@ -1,6 +1,6 @@
{ {
"name": "grapesjs", "name": "grapesjs",
"version": "0.16.19", "version": "0.16.20",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

2
package.json

@ -1,7 +1,7 @@
{ {
"name": "grapesjs", "name": "grapesjs",
"description": "Free and Open Source Web Builder Framework", "description": "Free and Open Source Web Builder Framework",
"version": "0.16.19", "version": "0.16.20",
"author": "Artur Arseniev", "author": "Artur Arseniev",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"homepage": "http://grapesjs.com", "homepage": "http://grapesjs.com",

Loading…
Cancel
Save