Commit df965949 authored by Julia Radzhabova's avatar Julia Radzhabova

[DE + DE mobile] Update for underscore 1.8.3.

parent bd053831
......@@ -81,7 +81,7 @@ define([
'</div>'
].join('');
this.options.tpl = _.template(this.template, this.options);
this.options.tpl = _.template(this.template)(this.options);
this.api = this.options.api;
Common.UI.Window.prototype.initialize.call(this, this.options);
......
......@@ -54,7 +54,7 @@ define([
'<div id="id-mail-recepients-placeholder"></div>'
].join('');
_options.tpl = _.template(this.template, _options);
_options.tpl = _.template(this.template)(_options);
this.fileChoiceUrl = options.fileChoiceUrl || '';
Common.UI.Window.prototype.initialize.call(this, _options);
......
......@@ -55,7 +55,7 @@ define([
'<div id="id-mail-merge-folder-placeholder"></div>'
].join('');
_options.tpl = _.template(this.template, _options);
_options.tpl = _.template(this.template)(_options);
this.mergeFolderUrl = options.mergeFolderUrl || '';
this.mergedFileUrl = options.mergedFileUrl || '';
......
......@@ -89,7 +89,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;
......
......@@ -79,7 +79,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;
......
......@@ -96,7 +96,7 @@ define([
templateUserList: _.template('<ul>' +
'<% _.each(users, function(item) { %>' +
'<%= _.template(usertpl, {user: item, scope: scope}) %>' +
'<%= _.template(usertpl)({user: item, scope: scope}) %>' +
'<% }); %>' +
'</ul>'),
......@@ -436,7 +436,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});
}
},
......@@ -566,7 +566,7 @@ define([
label: this.labelSelect,
btns: {ok: this.btnOk, cancel: this.btnCancel}
});
this.options.tpl = _.template(this.template, this.options);
this.options.tpl = _.template(this.template)(this.options);
Common.UI.Window.prototype.initialize.call(this, this.options);
},
......
......@@ -70,7 +70,7 @@ define([
'</div>'
].join('');
this.options.tpl = _.template(this.template, this.options);
this.options.tpl = _.template(this.template)(this.options);
Common.UI.Window.prototype.initialize.call(this, this.options);
},
......
......@@ -175,7 +175,7 @@ define([
'</div>',
'</label>',
'</li>'
].join(''), {
].join(''))({
android: Framework7.prototype.device.android,
item: size,
index: index,
......
......@@ -203,7 +203,7 @@ define([
'<% }); %>',
'</ul>',
'<% }); %>'
].join(''), {
].join(''))({
styles: styles
});
......
......@@ -138,7 +138,7 @@ define([
'</div>',
'<% }); %>',
'</div>'
].join(''), {
].join(''))({
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