Skip to content

Commit b8d88c4

Browse files
author
Chris Nelson
committed
Trying to bring in n2-cli-test-lib
1 parent 7dd824d commit b8d88c4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"license": "Apache-2.0",
55
"dependencies": {
66
"angular2": "2.0.0-beta.0",
7+
"angular2-phoenix-channels": "0.0.1",
78
"es6-promise": "^3.0.2",
89
"es6-shim": "^0.33.3",
910
"reflect-metadata": "0.1.2",

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {bootstrap} from 'angular2/platform/browser';
22
import {AngularCliTestApp} from './app/angular-cli-test';
3-
3+
// import PhoenixChannels from "angular2-phoenix-channels";
44

55
bootstrap(AngularCliTestApp);

src/app/angular-cli-test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import {Component} from 'angular2/core';
2-
2+
import ng2test from "ng2-cli-test-lib";
33

44
@Component({
55
selector: 'angular-cli-test-app',
6-
providers: [],
6+
providers: [ng2test.providers],
77
templateUrl: 'app/angular-cli-test.html',
88
directives: [],
99
pipes: []
1010
})
1111
export class AngularCliTestApp {
1212
defaultMeaning: number = 42;
13-
13+
1414
meaningOfLife(meaning) {
1515
return `The meaning of life is ${meaning || this.defaultMeaning}`;
1616
}

0 commit comments

Comments
 (0)