mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: enable no-unused-vars rule
closes odoo/design-themes#552 Related: odoo/enterprise#24867 Related: odoo/odoo#85569 Signed-off-by: Géry Debongnie <ged@odoo.com>
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
id: 's_carousel_wrapper',
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
/** @odoo-module */
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
import { _t } from 'web.core';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
/** @odoo-module */
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
import { _t } from 'web.core';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
/** @odoo-module */
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
import { _t } from 'web.core';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
/** @odoo-module */
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
import { _t } from 'web.core';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
odoo.define("theme_enark.tour.enark", function (require) {
|
||||
"use strict";
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
const wTourUtils = require("website.tour_utils");
|
||||
var tour = require("web_tour.tour");
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
odoo.define("theme_graphene.tour.graphene", function (require) {
|
||||
"use strict";
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
|
||||
const wTourUtils = require("website.tour_utils");
|
||||
var tour = require("web_tour.tour");
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
/** @odoo-module */
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
import { _t } from 'web.core';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
/** @odoo-module */
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
import { _t } from 'web.core';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
/** @odoo-module */
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
import { _t } from 'web.core';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
/** @odoo-module */
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
import { _t } from 'web.core';
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -2,7 +2,6 @@ odoo.define("theme_real_estate.tour.real_estate", function (require) {
|
||||
"use strict";
|
||||
|
||||
const wTourUtils = require("website.tour_utils");
|
||||
var tour = require("web_tour.tour");
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
odoo.define("theme_vehicle.tour.vehicle", function (require) {
|
||||
"use strict";
|
||||
|
||||
const core = require("web.core");
|
||||
const _t = core._t;
|
||||
|
||||
const wTourUtils = require("website.tour_utils");
|
||||
var tour = require("web_tour.tour");
|
||||
|
||||
const snippets = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user