Commit da1fa303aa5ce81df1b1fd2ad34f9c8127684e16

Authored by Luis Suarez
1 parent 4aa4e681b5
Exists in develop

ng lint

src/app/app-routing.module.ts
... ... @@ -15,7 +15,7 @@ const routes: Routes = [
15 15 },
16 16 {
17 17 path: 'indicaciones-pago-tarjeta',
18   - loadChildren: () => import('./modules/indicaciones-pago-tarjeta/indicaciones-pago-tarjeta.module').then(m => m.indicacionesPagoTarjetaModule)
  18 + loadChildren: () => import('./modules/indicaciones-pago-tarjeta/indicaciones-pago-tarjeta.module').then(m => m.IndicacionesPagoTarjetaModule)
19 19 },
20 20 {
21 21 path: 'opcion-pedido',
src/app/modules/indicaciones-pago-tarjeta/indicaciones-pago-tarjeta-routing.module.ts
... ... @@ -10,4 +10,4 @@ const routes: Routes = [
10 10 imports: [RouterModule.forChild(routes)],
11 11 exports: [RouterModule]
12 12 })
13   -export class indicacionesPagoTarjetaRoutingModule { }
  13 +export class IndicacionesPagoTarjetaRoutingModule { }
src/app/modules/indicaciones-pago-tarjeta/indicaciones-pago-tarjeta.component.ts
... ... @@ -6,11 +6,8 @@ import { Component, OnInit, OnChanges } from '@angular/core';
6 6 styleUrls: ['./indicaciones-pago-tarjeta.component.scss']
7 7 })
8 8 export class IndicacionesPagoTarjetaComponent implements OnInit {
9   - mediaPantalla:boolean;
  9 + mediaPantalla: boolean;
10 10 constructor() { }
11 11  
12 12 ngOnInit() {}
13   -
14   - ngOnChanges() {
15   - }
16 13 }
src/app/modules/indicaciones-pago-tarjeta/indicaciones-pago-tarjeta.module.ts
1 1 import { NgModule } from '@angular/core';
2 2 import { CommonModule } from '@angular/common';
3 3  
4   -import { indicacionesPagoTarjetaRoutingModule } from './indicaciones-pago-tarjeta-routing.module';
  4 +import { IndicacionesPagoTarjetaRoutingModule } from './indicaciones-pago-tarjeta-routing.module';
5 5 import { IndicacionesPagoTarjetaComponent } from './indicaciones-pago-tarjeta.component';
6 6  
7 7  
... ... @@ -9,7 +9,7 @@ import { IndicacionesPagoTarjetaComponent } from './indicaciones-pago-tarjeta.co
9 9 declarations: [IndicacionesPagoTarjetaComponent],
10 10 imports: [
11 11 CommonModule,
12   - indicacionesPagoTarjetaRoutingModule
  12 + IndicacionesPagoTarjetaRoutingModule
13 13 ]
14 14 })
15   -export class indicacionesPagoTarjetaModule { }
  15 +export class IndicacionesPagoTarjetaModule { }
src/app/modules/mensaje-final/mensaje-final.component.ts
1   -import { Component, OnInit } from "@angular/core";
2   -import { ArticuloService } from "src/app/services/articulo/articulo.service";
3   -import { Router } from "@angular/router";
  1 +import { Component, OnInit } from '@angular/core';
  2 +import { ArticuloService } from 'src/app/services/articulo/articulo.service';
  3 +import { Router } from '@angular/router';
4 4  
5 5 @Component({
6   - selector: "app-mensaje-final",
7   - templateUrl: "./mensaje-final.component.html",
8   - styleUrls: ["./mensaje-final.component.scss"]
  6 + selector: 'app-mensaje-final',
  7 + templateUrl: './mensaje-final.component.html',
  8 + styleUrls: ['./mensaje-final.component.scss']
9 9 })
10 10 export class MensajeFinalComponent implements OnInit {
11 11 timer: any;
... ... @@ -23,12 +23,12 @@ export class MensajeFinalComponent implements OnInit {
23 23  
24 24 goToSplash() {
25 25 this.articuloService.cleanShoppingCar();
26   - this.router.navigate([""]);
  26 + this.router.navigate(['']);
27 27 }
28 28  
29 29 mediaPantalla() {
30   - if ($("body").hasClass("media-pantalla")) {
31   - $("body").removeClass("media-pantalla");
  30 + if ($('body').hasClass('media-pantalla')) {
  31 + $('body').removeClass('media-pantalla');
32 32 }
33 33 }
34 34 }