[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 () {
|
render: function () {
|
||||||
var el = $(this.el),
|
var el = $(this.el),
|
||||||
me = this;
|
me = this;
|
||||||
el.html(_.template(this.template, {
|
el.html(_.template(this.template)({
|
||||||
scope: this
|
scope: this
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ define([
|
||||||
'</div>'
|
'</div>'
|
||||||
].join('');
|
].join('');
|
||||||
|
|
||||||
this.options.tpl = _.template(this.template, this.options);
|
this.options.tpl = _.template(this.template)(this.options);
|
||||||
this.slides = this.options.slides;
|
this.slides = this.options.slides;
|
||||||
this.api = this.options.api;
|
this.api = this.options.api;
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ define([
|
||||||
'</div>'
|
'</div>'
|
||||||
].join('');
|
].join('');
|
||||||
|
|
||||||
this.options.tpl = _.template(this.template, this.options);
|
this.options.tpl = _.template(this.template)(this.options);
|
||||||
|
|
||||||
this.spinners = [];
|
this.spinners = [];
|
||||||
this._noApply = false;
|
this._noApply = false;
|
||||||
|
|
|
@ -68,7 +68,7 @@ define([
|
||||||
'</div>'
|
'</div>'
|
||||||
].join('');
|
].join('');
|
||||||
|
|
||||||
this.options.tpl = _.template(this.template, this.options);
|
this.options.tpl = _.template(this.template)(this.options);
|
||||||
|
|
||||||
this.spinners = [];
|
this.spinners = [];
|
||||||
this._noApply = false;
|
this._noApply = false;
|
||||||
|
|
|
@ -80,7 +80,7 @@ define([
|
||||||
|
|
||||||
templateUserList: _.template('<ul>' +
|
templateUserList: _.template('<ul>' +
|
||||||
'<% _.each(users, function(item) { %>' +
|
'<% _.each(users, function(item) { %>' +
|
||||||
'<%= _.template(usertpl, {user: item, scope: scope}) %>' +
|
'<%= _.template(usertpl)({user: item, scope: scope}) %>' +
|
||||||
'<% }); %>' +
|
'<% }); %>' +
|
||||||
'</ul>'),
|
'</ul>'),
|
||||||
|
|
||||||
|
@ -338,7 +338,7 @@ define([
|
||||||
|
|
||||||
_onAddUser: function(m, c, opts) {
|
_onAddUser: function(m, c, opts) {
|
||||||
if (this.panelUsersList) {
|
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});
|
this.panelUsersList.scroller.update({minScrollbarLength : 40, alwaysVisibleY: true});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -123,7 +123,7 @@ define([
|
||||||
'<% }); %>',
|
'<% }); %>',
|
||||||
'</ul>',
|
'</ul>',
|
||||||
'<% }); %>'
|
'<% }); %>'
|
||||||
].join(''), {
|
].join(''))({
|
||||||
layouts: layouts
|
layouts: layouts
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -203,7 +203,7 @@ define([
|
||||||
'<% }); %>',
|
'<% }); %>',
|
||||||
'</ul>',
|
'</ul>',
|
||||||
'<% }); %>'
|
'<% }); %>'
|
||||||
].join(''), {
|
].join(''))({
|
||||||
styles: styles
|
styles: styles
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -235,7 +235,7 @@ define([
|
||||||
'<% }); %>',
|
'<% }); %>',
|
||||||
'</ul>',
|
'</ul>',
|
||||||
'<% }); %>'
|
'<% }); %>'
|
||||||
].join(''), {
|
].join(''))({
|
||||||
layouts: layouts
|
layouts: layouts
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -268,7 +268,7 @@ define([
|
||||||
'<% }); %>',
|
'<% }); %>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<% }); %>'
|
'<% }); %>'
|
||||||
].join(''), {
|
].join(''))({
|
||||||
themes: themes
|
themes: themes
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ define([
|
||||||
'</label>',
|
'</label>',
|
||||||
'</li>',
|
'</li>',
|
||||||
'<% }); %>'
|
'<% }); %>'
|
||||||
].join(''), {
|
].join(''))({
|
||||||
android : Common.SharedSettings.get('android'),
|
android : Common.SharedSettings.get('android'),
|
||||||
types: _arrCurrentEffectTypes
|
types: _arrCurrentEffectTypes
|
||||||
});
|
});
|
||||||
|
|
|
@ -138,7 +138,7 @@ define([
|
||||||
'</div>',
|
'</div>',
|
||||||
'<% }); %>',
|
'<% }); %>',
|
||||||
'</div>'
|
'</div>'
|
||||||
].join(''), {
|
].join(''))({
|
||||||
styles: styles
|
styles: styles
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue