Skip to content

Commit 1a5b9fb

Browse files
dranesmarcj
authored andcommitted
Update to Angular 2 final release (#62)
* update to rc6 * Go back to es5 Signed-off-by: Andres Garcia <andresgarcia@gmail.com> * Update to Angular 2 final release Signed-off-by: Andres Garcia <andresgarcia@gmail.com>
1 parent 370cd3b commit 1a5b9fb

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

LocalStorageEmitter.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,11 @@ export class LocalStorageService implements OnDestroy {
4343
}
4444
}
4545

46-
import {Type} from "@angular/core/src/facade/lang";
47-
import {provide} from "@angular/core/src/di";
46+
import {Type} from "@angular/core";
4847
import {ComponentRef} from "@angular/core";
4948

5049
export function LocalStorageSubscriber(appPromise: Promise<ComponentRef<any>>) {
5150
appPromise.then((bla) => {
52-
bla.injector.get(<Type>LocalStorageService);
51+
bla.injector.get(<Type<any>>LocalStorageService);
5352
});
5453
}

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
},
2525
"homepage": "https://github.com/marcj/angular2-localstorage",
2626
"devDependencies": {
27-
"@angular/core": "^2.0.0-rc.1",
28-
"es6-shim": "^0.35.0",
29-
"reflect-metadata": "0.1.3",
30-
"rxjs": "5.0.0-beta.6",
31-
"tslint": "^3.7.4",
32-
"typings": "^0.8.1",
33-
"zone.js": "0.6.12"
27+
"@angular/core": "^2.0.0",
28+
"es6-shim": "^0.35.1",
29+
"reflect-metadata": "0.1.8",
30+
"rxjs": "5.0.0-beta.12",
31+
"tslint": "^3.15.1",
32+
"typings": "^1.3.3",
33+
"zone.js": "0.6.23"
3434
}
3535
}

0 commit comments

Comments
 (0)