mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Add more strict rules (eslint)
This commit is contained in:
parent
b43bb17cdb
commit
52e2698cdf
38 changed files with 488 additions and 434 deletions
5
dev/External/ko.js
vendored
5
dev/External/ko.js
vendored
|
|
@ -120,7 +120,8 @@ ko.bindingHandlers.scrollerShadows = {
|
|||
ko.bindingHandlers.pikaday = {
|
||||
init: function(oElement, fValueAccessor, fAllBindingsAccessor, oViewModel) {
|
||||
|
||||
ko.bindingHandlers.textInput.init.apply(oViewModel, Array.prototype.slice.call(arguments));
|
||||
ko.bindingHandlers.textInput
|
||||
.init.apply(oViewModel, Array.prototype.slice.call(arguments)); // eslint-disable-line prefer-rest-params
|
||||
|
||||
if (Pikaday)
|
||||
{
|
||||
|
|
@ -971,7 +972,7 @@ ko.bindingHandlers.command = {
|
|||
|
||||
jqElement.addClass('command');
|
||||
ko.bindingHandlers[jqElement.is('form') ? 'submit' : 'click']
|
||||
.init.apply(oViewModel, Array.prototype.slice.call(arguments));
|
||||
.init.apply(oViewModel, Array.prototype.slice.call(arguments)); // eslint-disable-line prefer-rest-params
|
||||
},
|
||||
|
||||
update: function(oElement, fValueAccessor) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue