2016-04-05 02:27:10 -04:00
|
|
|
// #docplaster
|
2016-04-27 14:28:22 -04:00
|
|
|
import {Component, ViewEncapsulation} from '@angular/core';
|
2016-04-05 02:27:10 -04:00
|
|
|
|
|
|
|
// #docregion
|
|
|
|
// Let TypeScript know about the special SystemJS __moduleName variable
|
|
|
|
declare var __moduleName: string;
|
|
|
|
// #enddocregion
|
|
|
|
// moduleName is not set in some module loaders; set it explicitly
|
|
|
|
if (!__moduleName) {
|
|
|
|
__moduleName = `http://${location.host}/${location.pathname}/app/`;
|
|
|
|
}
|
|
|
|
console.log(`The __moduleName is ${__moduleName} `);
|
|
|
|
// #docregion
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
moduleId: __moduleName,
|
|
|
|
selector: 'quest-summary',
|
|
|
|
// #docregion urls
|
|
|
|
templateUrl: 'quest-summary.component.html',
|
|
|
|
styleUrls: ['quest-summary.component.css']
|
|
|
|
// #enddocregion urls
|
|
|
|
// #enddocregion
|
|
|
|
/*
|
|
|
|
// #docregion encapsulation.native
|
|
|
|
// warning: few browsers support shadow DOM encapsulation at this time
|
|
|
|
encapsulation: ViewEncapsulation.Native
|
|
|
|
// #enddocregion encapsulation.native
|
|
|
|
*/
|
|
|
|
// #docregion
|
|
|
|
})
|
|
|
|
export class QuestSummaryComponent { }
|
|
|
|
// #enddocregion
|