[PE + PE mobile] Update for underscore 1.8.3.
This commit is contained in:
parent
df96594911
commit
fd17009203
|
@ -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
|
||||
}));
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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});
|
||||
}
|
||||
},
|
||||
|
|
|
@ -123,7 +123,7 @@ define([
|
|||
'<% }); %>',
|
||||
'</ul>',
|
||||
'<% }); %>'
|
||||
].join(''), {
|
||||
].join(''))({
|
||||
layouts: layouts
|
||||
});
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ define([
|
|||
'<% }); %>',
|
||||
'</ul>',
|
||||
'<% }); %>'
|
||||
].join(''), {
|
||||
].join(''))({
|
||||
styles: styles
|
||||
});
|
||||
|
||||
|
|
|
@ -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
|
||||
});
|
||||
|
|
|
@ -138,7 +138,7 @@ define([
|
|||
'</div>',
|
||||
'<% }); %>',
|
||||
'</div>'
|
||||
].join(''), {
|
||||
].join(''))({
|
||||
styles: styles
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue