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

Commit c3c7a71

Browse files
committed
fix rebase errors
1 parent 07221a6 commit c3c7a71

File tree

15 files changed

+79
-15
lines changed

15 files changed

+79
-15
lines changed

public/docs/_examples/upgrade-phonecat-2-hybrid/ts/.gitignore

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
aot/**/*.ts
2-
**/*.ngfactory.ts
3-
**/*.ngsummary.json
4-
**/*.metadata.json
5-
**/*.js
1+
aot/**/*
2+
!aot/index.html
63
dist
74
!app/tsconfig.json
85
!rollup-config.js

public/docs/_examples/upgrade-phonecat-2-hybrid/ts/aot/bs-config.json

-5
This file was deleted.

public/docs/_examples/upgrade-phonecat-2-hybrid/ts/app/phone-detail/phone-detail.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Component } from '@angular/core';
88

99
import { Phone, PhoneData } from '../core/phone/phone.service';
1010
// #enddocregion initialclass
11-
import { RouteParams } from '../ng1-upgraded-providers';
11+
import { RouteParams } from '../ajs-upgraded-providers';
1212

1313
// #docregion initialclass
1414
@Component({
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"open": false,
3+
"logLevel": "silent",
4+
"port": 8080,
5+
"server": {
6+
"baseDir": "aot",
7+
"routes": {
8+
"/node_modules": "node_modules"
9+
},
10+
"middleware": {
11+
"0": null
12+
}
13+
}
14+
}

public/docs/_examples/upgrade-phonecat-2-hybrid/ts/copy-dist-files.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var resources = [
1111
'app/img/',
1212
'app/phones/',
1313
// app files
14-
'app/app.module.ng1.js',
14+
'app/app.module.ajs.js',
1515
'app/app.config.js',
1616
'app/app.animations.js',
1717
'app/core/core.module.js',

public/docs/_examples/upgrade-phonecat-3-router/ts/app/phone-detail/phone-detail.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { downgradeComponent } from '@angular/upgrade/static';
55
import { Component } from '@angular/core';
66

77
import { Phone, PhoneData } from '../core/phone/phone.service';
8-
import { RouteParams } from '../ng1-upgraded-providers';
8+
import { RouteParams } from '../ajs-upgraded-providers';
99

1010
@Component({
1111
moduleId: module.id,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"open": false,
3+
"logLevel": "silent",
4+
"port": 8080,
5+
"server": {
6+
"baseDir": "aot",
7+
"routes": {
8+
"/node_modules": "node_modules"
9+
},
10+
"middleware": {
11+
"0": null
12+
}
13+
}
14+
}

public/docs/_examples/upgrade-phonecat-3-router/ts/copy-dist-files.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var resources = [
1111
'app/img/',
1212
'app/phones/',
1313
// app files
14-
'app/app.module.ng1.js',
14+
'app/app.module.ajs.js',
1515
'app/app.config.js',
1616
'app/app.animations.js',
1717
'app/core/core.module.js',

public/docs/_examples/upgrade-phonecat-3-router/ts/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<script src="https://code.angularjs.org/1.5.5/angular-resource.js"></script>
1818
<script src="https://code.angularjs.org/1.5.5/angular-route.js"></script>
1919

20-
<script src="app.module.ng1.js"></script>
20+
<script src="app.module.ajs.js"></script>
2121
<script src="app.config.js"></script>
2222
<script src="app.animations.js"></script>
2323
<script src="core/core.module.js"></script>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "commonjs",
5+
"moduleResolution": "node",
6+
"sourceMap": true,
7+
"emitDecoratorMetadata": true,
8+
"experimentalDecorators": true,
9+
"lib": [ "es2015", "dom" ],
10+
"noImplicitAny": true,
11+
"suppressImplicitAnyIndexErrors": true,
12+
"typeRoots": [
13+
"../../node_modules/@types/"
14+
]
15+
},
16+
"compileOnSave": true,
17+
"exclude": [
18+
"node_modules/*",
19+
"**/*-aot.ts"
20+
]
21+
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2+
"build": "build:upgrade",
3+
"run": "serve:upgrade",
24
"unittesting": true
35
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "commonjs",
5+
"moduleResolution": "node",
6+
"sourceMap": true,
7+
"emitDecoratorMetadata": true,
8+
"experimentalDecorators": true,
9+
"lib": [ "es2015", "dom" ],
10+
"noImplicitAny": true,
11+
"suppressImplicitAnyIndexErrors": true,
12+
"typeRoots": [
13+
"../../node_modules/@types/"
14+
]
15+
},
16+
"compileOnSave": true,
17+
"exclude": [
18+
"node_modules/*",
19+
"**/*-aot.ts"
20+
]
21+
}

0 commit comments

Comments
 (0)