Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit 2685e5e

Browse files
committed
Adjusted component prefix
1 parent 67a288f commit 2685e5e

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

.angular-cli.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"test": "test.ts",
1919
"tsconfig": "tsconfig.app.json",
2020
"testTsconfig": "tsconfig.spec.json",
21-
"prefix": "rx",
21+
"prefix": "app",
2222
"serviceWorker": true,
2323
"styles": [
2424
"styles.scss"

src/app/app.component.ts

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

33
@Component({
4-
selector: 'rx-root',
4+
selector: 'app-root',
55
templateUrl: './app.component.html',
66
styleUrls: ['./app.component.scss']
77
})

src/app/companies/companies.component.ts

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

33
@Component({
4-
selector: 'rx-companies',
4+
selector: 'app-companies',
55
templateUrl: './companies.component.html',
66
styleUrls: ['./companies.component.scss']
77
})

src/app/operators/operators.component.ts

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

33
@Component({
4-
selector: 'rx-operators',
4+
selector: 'app-operators',
55
templateUrl: './operators.component.html',
66
styleUrls: ['./operators.component.scss']
77
})

src/app/rxjs/rxjs.component.ts

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

33
@Component({
4-
selector: 'rx-rxjs',
4+
selector: 'app-rxjs',
55
templateUrl: './rxjs.component.html',
66
styleUrls: ['./rxjs.component.scss']
77
})

src/app/team/team.component.ts

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

33
@Component({
4-
selector: 'rx-team',
4+
selector: 'app-team',
55
templateUrl: './team.component.html',
66
styleUrls: ['./team.component.scss']
77
})

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono" rel="stylesheet">
1414
</head>
1515
<body>
16-
<rx-root></rx-root>
16+
<app-root></app-root>
1717
<script src="https://ajax.googleapis.com/ajax/libs/hammerjs/2.0.8/hammer.min.js"></script>
1818
<script src="https://cdnjs.cloudflare.com/ajax/libs/web-animations/2.2.5/web-animations.min.js"></script>
1919
</body>

tslint.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@
117117
"directive-selector": [
118118
true,
119119
"attribute",
120-
"rx",
120+
"app",
121121
"camelCase"
122122
],
123123
"component-selector": [
124124
true,
125125
"element",
126-
"rx",
126+
"app",
127127
"kebab-case"
128128
],
129129
"use-input-property-decorator": true,

0 commit comments

Comments
 (0)