Skip to content

Commit

Permalink
fix dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFrankel committed Mar 8, 2018
1 parent 6d7a326 commit cfd5c40
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion example/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</select>
</div>
<popper-content #popper1Content>
<p class="bold">Popper on <b id="example10currentPosition" class="currentPosition">{{example1select}}</b></p>
<p class="bold" >Popper on <b id="example10currentPosition" class="currentPosition">{{example1select}}</b></p>
</popper-content>
</div>

Expand Down
3 changes: 1 addition & 2 deletions example/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import {Draggable} from 'ng2draggable/draggable.directive';
FormsModule,
NgxPopperModule.forRoot({
trigger: Triggers.NONE,
hideOnClickOutside: false,
disableAnimation: true
hideOnClickOutside: false
})],
declarations: [
Draggable,
Expand Down
6 changes: 3 additions & 3 deletions example/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import 'rxjs';

import { enableProdMode } from '@angular/core';
// The browser platform with a compiler
import {platformBrowser} from '@angular/platform-browser';
//import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
//import {platformBrowser} from '@angular/platform-browser';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

// The app module
import { AppModule } from './app.module';

enableProdMode();

platformBrowser().bootstrapModule(AppModule);
platformBrowserDynamic().bootstrapModule(AppModule);
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"example-cli"
],
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
// "fullTemplateTypeCheck": true,
"preserveWhiteSpace": false

}
Expand Down
10 changes: 5 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ module.exports = {
devtool: 'source-map',
module: {
rules: [
// {
// test: /\.ts?$/,
// use: ['awesome-typescript-loader', 'angular2-template-loader']
// },
{ test: /\.ts$/, loaders: ['@ngtools/webpack'] },
{
test: /\.ts?$/,
use: ['awesome-typescript-loader', 'angular2-template-loader']
},
// { test: /\.ts$/, loaders: ['@ngtools/webpack'] },
/* Embed files. */
{
test: /\.(html|css)$/,
Expand Down

0 comments on commit cfd5c40

Please sign in to comment.