[PE + PE mobile] Update for underscore 1.8.3.

This commit is contained in:
Julia Radzhabova 2017-04-13 15:07:15 +03:00
parent df96594911
commit fd17009203
9 changed files with 12 additions and 12 deletions

View file

@ -100,7 +100,7 @@ define([
render: function () {
var el = $(this.el),
me = this;
el.html(_.template(this.template, {
el.html(_.template(this.template)({
scope: this
}));

View file

@ -103,7 +103,7 @@ define([
'</div>'
].join('');
this.options.tpl = _.template(this.template, this.options);
this.options.tpl = _.template(this.template)(this.options);
this.slides = this.options.slides;
this.api = this.options.api;

View file

@ -87,7 +87,7 @@ define([
'</div>'
].join('');
this.options.tpl = _.template(this.template, this.options);
this.options.tpl = _.template(this.template)(this.options);
this.spinners = [];
this._noApply = false;

View file

@ -68,7 +68,7 @@ define([
'</div>'
].join('');
this.options.tpl = _.template(this.template, this.options);
this.options.tpl = _.template(this.template)(this.options);
this.spinners = [];
this._noApply = false;

View file

@ -80,7 +80,7 @@ define([
templateUserList: _.template('<ul>' +
'<% _.each(users, function(item) { %>' +
'<%= _.template(usertpl, {user: item, scope: scope}) %>' +
'<%= _.template(usertpl)({user: item, scope: scope}) %>' +
'<% }); %>' +
'</ul>'),
@ -338,7 +338,7 @@ define([
_onAddUser: function(m, c, opts) {
if (this.panelUsersList) {
this.panelUsersList.find('ul').append(_.template(this.tplUser, {user: m, scope: this}));
this.panelUsersList.find('ul').append(_.template(this.tplUser)({user: m, scope: this}));
this.panelUsersList.scroller.update({minScrollbarLength : 40, alwaysVisibleY: true});
}
},

View file

@ -123,7 +123,7 @@ define([
'<% }); %>',
'</ul>',
'<% }); %>'
].join(''), {
].join(''))({
layouts: layouts
});

View file

@ -203,7 +203,7 @@ define([
'<% }); %>',
'</ul>',
'<% }); %>'
].join(''), {
].join(''))({
styles: styles
});

View file

@ -235,7 +235,7 @@ define([
'<% }); %>',
'</ul>',
'<% }); %>'
].join(''), {
].join(''))({
layouts: layouts
});
@ -268,7 +268,7 @@ define([
'<% }); %>',
'</div>',
'<% }); %>'
].join(''), {
].join(''))({
themes: themes
});
@ -291,7 +291,7 @@ define([
'</label>',
'</li>',
'<% }); %>'
].join(''), {
].join(''))({
android : Common.SharedSettings.get('android'),
types: _arrCurrentEffectTypes
});

View file

@ -138,7 +138,7 @@ define([
'</div>',
'<% }); %>',
'</div>'
].join(''), {
].join(''))({
styles: styles
});