Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6ff9be6

Browse files
committed
Add accessToken for Cesium ion in the environment files. Add related favicon. Minor copyedits in config files.
1 parent bccbff2 commit 6ff9be6

File tree

13 files changed

+42
-27
lines changed

13 files changed

+42
-27
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ npm-debug.log
3333
yarn-error.log
3434
testem.log
3535
/typings
36+
/.angulardoc.json
3637

3738
# System Files
3839
.DS_Store

‎src/browserslist‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# This file is currently used by autoprefixer to adjust CSS to support the below specified browsers
22
# For additional information regarding the format and rule options, please see:
33
# https://github.com/browserslist/browserslist#queries
4-
# For IE 9-11 support, please uncomment the last line of the file and adjust as needed
4+
#
5+
# For IE 9-11 support, please remove 'not' from the last line of the file and adjust as needed
6+
57
> 0.5%
68
last 2 versions
79
Firefox ESR
810
not dead
9-
# IE 9-11
11+
not IE 9-11

‎src/environments/environment.prod.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export const environment = {
2-
production: true
2+
production: true,
3+
accessToken: '<Your access token here>'
34
};

‎src/environments/environment.ts‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
// This file can be replaced during build by using the `fileReplacements` array.
2-
// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
2+
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
33
// The list of file replacements can be found in `angular.json`.
44

55
export const environment = {
6-
production: false
6+
production: false,
7+
accessToken: '<Your access token here>'
78
};
89

910
/*
10-
* In development mode, to ignore zone related error stack frames such as
11-
* `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can
12-
* import the following file, but please comment it out in production mode
13-
* because it will have performance impact when throw error
11+
* For easier debugging in development mode, you can import the following file
12+
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
13+
*
14+
* This import should be commented out in production mode because it will have a negative impact
15+
* on performance if an error is thrown.
1416
*/
1517
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.

‎src/favicon.ico‎

119 KB
Binary file not shown.

‎src/main.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ if (environment.production) {
1010

1111
window['CESIUM_BASE_URL'] = '/assets/cesium/';
1212

13+
Cesium.Ion.defaultAccessToken = environment.accessToken;
14+
1315
platformBrowserDynamic().bootstrapModule(AppModule)
1416
.catch(err => console.log(err));

‎src/styles.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* You can add global styles to this file, and also import other style files */
2+
23
html, body, div[appCesium] {
34
width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;
45
}

‎src/tsconfig.app.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
5-
"module": "es2015",
65
"types": []
76
},
87
"exclude": [
9-
"src/test.ts",
8+
"test.ts",
109
"**/*.spec.ts"
1110
]
1211
}

‎src/tsconfig.spec.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/spec",
5-
"module": "commonjs",
65
"types": [
76
"jasmine",
87
"node"

‎src/tslint.json‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"extends": "../tslint.json",
3-
"rules": {
4-
"directive-selector": [
5-
true,
6-
"attribute",
7-
"app",
8-
"camelCase"
9-
],
10-
"component-selector": [
11-
true,
12-
"element",
13-
"app",
14-
"kebab-case"
15-
]
16-
}
2+
"extends": "../tslint.json",
3+
"rules": {
4+
"directive-selector": [
5+
true,
6+
"attribute",
7+
"app",
8+
"camelCase"
9+
],
10+
"component-selector": [
11+
true,
12+
"element",
13+
"app",
14+
"kebab-case"
15+
]
16+
}
1717
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /