Skip to content

Commit 05545e5

Browse files
author
Gregor Woiwode
committed
Removes module.id
1 parent a323ea8 commit 05545e5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

snippets/typescript.cson

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import { Component, OnInit } from '@angular/core';
88
99
@Component({
10-
moduleId: module.id,
1110
selector: '${1:selector}',
1211
templateUrl: '${2:component-name}.component.html',
1312
})
@@ -100,11 +99,11 @@
10099
"""
101100
'Angular Bootstrapping':
102101
'prefix': 'ng2-bootstrap'
103-
'description': 'Angular bootstrap() snippet'
102+
'description': 'Angular bootstraps() snippet'
104103
'descriptionMoreURL': 'https://angular.io/docs/ts/latest/api/platform-browser-dynamic/index/bootstrap-function.html'
105104
'body': """
106105
import { enableProdMode } from '@angular/core';
107-
import { bootstrap } from '@angular/platform-browser-dynamic';
106+
import { bootstraps } from '@angular/platform-browser-dynamic';
108107
109108
import { ${1:AppComponent} } from './${2:name}.component';
110109
@@ -125,7 +124,6 @@
125124
import 'rxjs/Rx'; // load the full rxjs
126125
127126
@Component({
128-
moduleId: module.id,
129127
selector: '${1:selector}',
130128
templateUrl: '${2:component-name}.component.html',
131129
directives: [ROUTER_DIRECTIVES],

0 commit comments

Comments
 (0)