diff --git a/src/atlasViewer/atlasViewer.constantService.service.ts b/src/atlasViewer/atlasViewer.constantService.service.ts index 2370bb3e173e508d26aaa32ece4f025d632ed3b3..1295b188578881870bc4e958ad0600f3f81b0742 100644 --- a/src/atlasViewer/atlasViewer.constantService.service.ts +++ b/src/atlasViewer/atlasViewer.constantService.service.ts @@ -8,6 +8,8 @@ import { ViewerStateInterface, Property, FETCHED_METADATA } from "../services/st }) export class AtlasViewerConstantsServices{ + + /* to be provided by KG in future */ public templateUrls = [ // 'res/json/infant.json', 'res/json/bigbrain.json', @@ -17,6 +19,7 @@ export class AtlasViewerConstantsServices{ 'res/json/allenMouse.json' ] + /* to be provided by KG in future */ private _mapArray : [string,string[]][] = [ [ 'JuBrain Cytoarchitectonic Atlas' , [ diff --git a/src/index.html b/src/index.html index ef550de054bbafdb72382b29563055a3578e9d8e..f944aa7b1c9a37a8995f39cb1e8cb200a359b952 100644 --- a/src/index.html +++ b/src/index.html @@ -11,10 +11,11 @@ </head> <body> <atlas-viewer> - Loading the atlas viewer - <span class = "homeAnimationDots loadingAnimationDots">•</span> - <span class = "homeAnimationDots loadingAnimationDots">•</span> - <span class = "homeAnimationDots loadingAnimationDots">•</span> + <h1 style = "text-align:center;"> + <span class = "homeAnimationDots loadingAnimationDots">•</span> + <span class = "homeAnimationDots loadingAnimationDots">•</span> + <span class = "homeAnimationDots loadingAnimationDots">•</span> + </h1> </atlas-viewer> </body> </html> \ No newline at end of file diff --git a/src/main-aot.ts b/src/main-aot.ts index 8db74c3ebc1ecfb457b0b95096539691053ffde9..cae586c5666a0d017c9492f7935a0c4406a150d7 100644 --- a/src/main-aot.ts +++ b/src/main-aot.ts @@ -2,10 +2,14 @@ import 'zone.js' import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' import { MainModule } from './main.module'; +import { enableProdMode } from '@angular/core'; const requireAll = (r:any) => {r.keys().forEach(r)} requireAll(require.context('./res/ext', false, /\.json$/)) requireAll(require.context('./res/images', true, /\.jpg|\.png/)) requireAll(require.context('./plugin_examples/jugex', false)) +/* aot = production mode */ +enableProdMode() + platformBrowserDynamic().bootstrapModule(MainModule) \ No newline at end of file