From 565ef073eaf9583773db62343d1fcf75a383803d Mon Sep 17 00:00:00 2001 From: Sarun Intaralawan Date: Sun, 14 Aug 2016 01:50:30 +0700 Subject: [PATCH] docs(webpack): remove deprecated browserDynamicPlatform closes #2109 --- public/docs/_examples/webpack/ts/src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/docs/_examples/webpack/ts/src/main.ts b/public/docs/_examples/webpack/ts/src/main.ts index 0057db95ab..e1d8cbc0fe 100644 --- a/public/docs/_examples/webpack/ts/src/main.ts +++ b/public/docs/_examples/webpack/ts/src/main.ts @@ -1,5 +1,5 @@ // #docregion -import { browserDynamicPlatform } from '@angular/platform-browser-dynamic'; +import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { enableProdMode } from '@angular/core'; import { AppModule } from './app/app.module'; @@ -10,5 +10,5 @@ if (process.env.ENV === 'production') { } // #enddocregion enable-prod -browserDynamicPlatform().bootstrapModule(AppModule); +platformBrowserDynamic().bootstrapModule(AppModule); // #enddocregion