Commit fd170092 authored by Julia Radzhabova's avatar Julia Radzhabova

[PE + PE mobile] Update for underscore 1.8.3.

parent df965949
...@@ -100,7 +100,7 @@ define([ ...@@ -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([ ...@@ -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([ ...@@ -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([ ...@@ -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([ ...@@ -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([ ...@@ -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([ ...@@ -123,7 +123,7 @@ define([
'<% }); %>', '<% }); %>',
'</ul>', '</ul>',
'<% }); %>' '<% }); %>'
].join(''), { ].join(''))({
layouts: layouts layouts: layouts
}); });
......
...@@ -203,7 +203,7 @@ define([ ...@@ -203,7 +203,7 @@ define([
'<% }); %>', '<% }); %>',
'</ul>', '</ul>',
'<% }); %>' '<% }); %>'
].join(''), { ].join(''))({
styles: styles styles: styles
}); });
......
...@@ -235,7 +235,7 @@ define([ ...@@ -235,7 +235,7 @@ define([
'<% }); %>', '<% }); %>',
'</ul>', '</ul>',
'<% }); %>' '<% }); %>'
].join(''), { ].join(''))({
layouts: layouts layouts: layouts
}); });
...@@ -268,7 +268,7 @@ define([ ...@@ -268,7 +268,7 @@ define([
'<% }); %>', '<% }); %>',
'</div>', '</div>',
'<% }); %>' '<% }); %>'
].join(''), { ].join(''))({
themes: themes themes: themes
}); });
...@@ -291,7 +291,7 @@ define([ ...@@ -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([ ...@@ -138,7 +138,7 @@ define([
'</div>', '</div>',
'<% }); %>', '<% }); %>',
'</div>' '</div>'
].join(''), { ].join(''))({
styles: styles styles: styles
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment