Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 9ed12f4

Browse files
Foxandxsswardbell
authored andcommitted
docs(style-guide): rename toast selector
closes #1486
1 parent 7a43e0a commit 9ed12f4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

public/docs/_examples/style-guide/e2e-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ describe('Style Guide', function () {
127127
it('05-14', function () {
128128
browser.get('#/05-14');
129129

130-
var toast = element(by.tagName('sg-app > my-toast'));
130+
var toast = element(by.tagName('sg-app > toh-toast'));
131131
expect(toast.getText()).toBe('...');
132132
});
133133

public/docs/_examples/style-guide/ts/05-14/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ToastComponent } from './shared/toast/toast.component';
44

55
@Component({
66
selector: 'sg-app',
7-
template: `<my-toast></my-toast>`,
7+
template: `<toh-toast></toh-toast>`,
88
directives: [ToastComponent]
99
})
1010
export class AppComponent { }

public/docs/_examples/style-guide/ts/05-14/app/shared/toast/toast.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { Component, OnInit } from '@angular/core';
33

44
@Component({
5-
selector: 'my-toast',
5+
selector: 'toh-toast',
66
template: `...`
77
})
88
// #docregion example

0 commit comments

Comments
 (0)