Skip to content

Commit

Permalink
docs: lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Jan 9, 2019
1 parent f1040c5 commit 60d5016
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 56 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Component, OnInit } from '@angular/core';
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
// #enddocregion forms-imports

// #docregion cart-imports
// #docregion cart-imports
import { CartService, CartItem } from '../cart.service';
// #enddocregion cart-imports

Expand All @@ -29,13 +29,13 @@ export class CheckoutComponent implements OnInit {
private cartService: CartService
) {
// #enddocregion cart-service
// #docregion checkout-form-group
// #docregion checkout-form-group
this.checkoutForm = this.fb.group({
name: ['', Validators.required],
address: ['', Validators.required],
});
// #enddocregion checkout-form-group, formbuilder
// #docregion cart-service
// #enddocregion checkout-form-group, formbuilder
// #docregion cart-service
}
// #enddocregion cart-service

Expand All @@ -52,11 +52,11 @@ export class CheckoutComponent implements OnInit {
customer: customerData,
items: this.items
};

// Do something with the checkout data here
console.log(checkoutData);
}
}
// #enddocregion on-submit
// #docregion cart-items
}
// #enddocregion cart-items
// #enddocregion cart-items
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export class ProductService {

constructor() { }

}
}

0 comments on commit 60d5016

Please sign in to comment.