[FIX] pylint/javascript-lint

This commit is contained in:
mreficent
2019-03-11 17:36:40 +01:00
parent b72ac08495
commit 037b26a5de
7 changed files with 61 additions and 62 deletions

View File

@@ -3,9 +3,9 @@
// This file contains tweaks for viewerjs itself and is not meant to be run in
// OpenERP's context
(function(original_Viewer) {
window.Viewer = function(plugin, parameters) {
if(!plugin) {
(function (original_Viewer) {
window.Viewer = function (plugin, parameters) {
if (!plugin) {
// eslint-disable-next-line no-alert
alert('Unsupported file type');
}