(docs) apply cosmetic fixes requested by @btford for PR #203
This commit is contained in:
parent
c44e966278
commit
8f2c621fbd
@ -0,0 +1,3 @@
|
|||||||
|
```
|
||||||
|
angular2_1.bootstrap(AppComponent);
|
||||||
|
```
|
3
public/docs/_fragments/quickstart/src/app-import.js.md
Normal file
3
public/docs/_fragments/quickstart/src/app-import.js.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
```
|
||||||
|
var angular2_1 = require('angular2/angular2');
|
||||||
|
```
|
21
public/docs/_fragments/quickstart/src/app.js.md
Normal file
21
public/docs/_fragments/quickstart/src/app.js.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
```
|
||||||
|
var angular2_1 = require('angular2/angular2');
|
||||||
|
var AppComponent = (function () {
|
||||||
|
function AppComponent() {
|
||||||
|
this.name = 'Alice';
|
||||||
|
}
|
||||||
|
AppComponent = __decorate([
|
||||||
|
angular2_1.Component({
|
||||||
|
selector: 'app'
|
||||||
|
}),
|
||||||
|
angular2_1.View({
|
||||||
|
template: '<h1 id="output">Hello {{ name }}</h1>'
|
||||||
|
}),
|
||||||
|
__metadata('design:paramtypes', [])
|
||||||
|
], AppComponent);
|
||||||
|
return AppComponent;
|
||||||
|
})();
|
||||||
|
exports.AppComponent = AppComponent;
|
||||||
|
angular2_1.bootstrap(AppComponent);
|
||||||
|
//# sourceMappingURL=app.js.map
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user