From 020abd810f6da383cb995a69ce33cf3018e21d14 Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Mon, 23 May 2016 15:33:06 +0200 Subject: [PATCH] docs(style-guide): a service doesn't have a folder closes #1481 --- .../docs/_examples/style-guide/ts/03-04/app/app.component.ts | 2 +- .../ts/03-04/app/shared/{toast => }/toast.service.avoid.ts | 0 .../ts/03-04/app/shared/{toast => }/toast.service.ts | 0 public/docs/ts/latest/guide/style-guide.jade | 4 ++-- 4 files changed, 3 insertions(+), 3 deletions(-) rename public/docs/_examples/style-guide/ts/03-04/app/shared/{toast => }/toast.service.avoid.ts (100%) rename public/docs/_examples/style-guide/ts/03-04/app/shared/{toast => }/toast.service.ts (100%) diff --git a/public/docs/_examples/style-guide/ts/03-04/app/app.component.ts b/public/docs/_examples/style-guide/ts/03-04/app/app.component.ts index 1b25bcd5ca..83e9e8f038 100644 --- a/public/docs/_examples/style-guide/ts/03-04/app/app.component.ts +++ b/public/docs/_examples/style-guide/ts/03-04/app/app.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core'; -import { ToastService } from './shared/toast/toast.service'; +import { ToastService } from './shared/toast.service'; @Component({ selector: 'sg-app', diff --git a/public/docs/_examples/style-guide/ts/03-04/app/shared/toast/toast.service.avoid.ts b/public/docs/_examples/style-guide/ts/03-04/app/shared/toast.service.avoid.ts similarity index 100% rename from public/docs/_examples/style-guide/ts/03-04/app/shared/toast/toast.service.avoid.ts rename to public/docs/_examples/style-guide/ts/03-04/app/shared/toast.service.avoid.ts diff --git a/public/docs/_examples/style-guide/ts/03-04/app/shared/toast/toast.service.ts b/public/docs/_examples/style-guide/ts/03-04/app/shared/toast.service.ts similarity index 100% rename from public/docs/_examples/style-guide/ts/03-04/app/shared/toast/toast.service.ts rename to public/docs/_examples/style-guide/ts/03-04/app/shared/toast.service.ts diff --git a/public/docs/ts/latest/guide/style-guide.jade b/public/docs/ts/latest/guide/style-guide.jade index f70308cc5d..5e2ef28650 100644 --- a/public/docs/ts/latest/guide/style-guide.jade +++ b/public/docs/ts/latest/guide/style-guide.jade @@ -736,10 +736,10 @@ a(href="#toc") Back to top :marked **Why?** TypeScript tooling makes it easy to identify private vs public properties and methods. -+makeExample('style-guide/ts/03-04/app/shared/toast/toast.service.avoid.ts', 'example', 'app/shared/toast/toast.service.ts')(avoid=1) ++makeExample('style-guide/ts/03-04/app/shared/toast.service.avoid.ts', 'example', 'app/shared/toast.service.ts')(avoid=1) :marked -+makeExample('style-guide/ts/03-04/app/shared/toast/toast.service.ts', 'example', 'app/shared/toast/toast.service.ts') ++makeExample('style-guide/ts/03-04/app/shared/toast.service.ts', 'example', 'app/shared/toast.service.ts') :marked a(href="#toc") Back to top