Skip to content

Commit

Permalink
Bump v0.12.60
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Jan 9, 2018
1 parent 8f68c91 commit f7367f5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions dist/grapes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4809,12 +4809,12 @@ module.exports = Backbone.Model.extend(_Styleable2.default).extend({
var config = this.sm.config || {};
var tagVarStart = escapeRegExp(config.tagVarStart || '{[ ');
var tagVarEnd = escapeRegExp(config.tagVarEnd || ' ]}');
var reg = new RegExp(tagVarStart + '(.*)' + tagVarEnd, 'g');
var reg = new RegExp(tagVarStart + '([\\w\\d-]*)' + tagVarEnd, 'g');
scr = scr.replace(reg, function (match, v) {
// If at least one match is found I have to track this change for a
// better optimization inside JS generator
_this4.scriptUpdated();
return _this4.attributes[v];
return _this4.attributes[v] || '';
});

return scr;
Expand Down Expand Up @@ -23266,7 +23266,7 @@ module.exports = function () {
plugins: plugins,

// Will be replaced on build
version: '0.12.59',
version: '0.12.60',

/**
* Initializes an editor based on passed options
Expand Down Expand Up @@ -44311,7 +44311,7 @@ module.exports = Backbone.View.extend({
// In editor, I make use of setTimeout as during the append process of elements
// those will not be available immediatly, therefore 'item' variable
var script = document.createElement('script');
script.innerText = '\n setTimeout(function() {\n var item = document.getElementById(\'' + id + '\');\n if (!item) return;\n (function(){' + model.getScriptString() + '}.bind(item))()\n }, 1);';
script.innerText = '\n setTimeout(function() {\n var item = document.getElementById(\'' + id + '\');\n if (!item) return;\n (function(){\n ' + model.getScriptString() + ';\n }.bind(item))()\n }, 1);';
view.scriptContainer.get(0).appendChild(script);
},

Expand Down
6 changes: 3 additions & 3 deletions dist/grapes.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grapesjs",
"description": "Free and Open Source Web Builder Framework",
"version": "0.12.59",
"version": "0.12.60",
"author": "Artur Arseniev",
"license": "BSD-3-Clause",
"homepage": "http://grapesjs.com",
Expand Down

0 comments on commit f7367f5

Please sign in to comment.