Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
7d3f24e4701668219f323f431a097afb58d927c9
Branches
master
Tags
1.1.129-287
1.1.113-149
1.1.108-143
1.1.95-138
1.1.92-119
1.0.35-18
1.0.13-14
Files
Commits
Log
Graph
Stats
angular-compile.git
src
CompileModule.ts
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
SSH
HTTPS
Blames found: 19
Mode: application/typescript
Binary: false
Hang on, we reloading big blames...
f46e4d96
c605ea6f
//import { CompileService, CompileServiceConfig, } from "./CompileService";
f46e4d96
import { CompileAttribute} from "./CompileAttribute";
69db3407
import { NgModule,
c605ea6f
ModuleWithProviders,
69db3407
} from '@angular/core';
f46e4d96
c605ea6f
import { CommonModule } from '@angular/common'; import { BrowserModule } from '@angular/platform-browser';
f46e4d96
import { Compiler } from '@angular/core';
c605ea6f
/*
f46e4d96
import {JitCompilerFactory} from '@angular/compiler'; export function createJitCompiler () { return new JitCompilerFactory([{useDebug: false, useJit: true}]).createCompiler(); }
c605ea6f
*/ export class CompileServiceConfig { module: NgModule }
f46e4d96
// exports = component @NgModule({ imports: [
c605ea6f
CommonModule
f46e4d96
], declarations: [ CompileAttribute, ], providers: [
c605ea6f
// CompileService, // { provide: Compiler, useFactory: createJitCompiler},
f46e4d96
], exports: [ CompileAttribute, ], entryComponents: [ ] }) export class CompileModule {
69db3407
static forRoot(config: CompileServiceConfig) : ModuleWithProviders { return { ngModule: CompileModule, providers: [ {provide: CompileServiceConfig, useValue: config } ] }; }
f46e4d96
}