Skip to content

Commit 0cd5327

Browse files
committed
Update to latest angular2 version, fix #17
1 parent 3868f5c commit 0cd5327

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

examples/counter/containers/App.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {Component, View, onDestroy} from 'angular2/angular2';
22
import {bindActionCreators} from 'redux';
33
import {Counter} from '../components/Counter';
44
import * as CounterActions from '../actions/CounterActions';
5-
import { Inject } from 'angular2/di';
5+
import { Inject } from 'angular2/angular2';
66

77
@Component({
88
selector: 'root',

examples/counter/devTools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react';
22
import React, { Component } from 'react';
3-
import {bind} from 'angular2/di';
3+
import {bind} from 'angular2/angular2';
44

55
let devTools = bind('devTools').toFactory(() => {
66
return {

examples/counter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
},
2323
"homepage": "https://github.com/wbuchwalter/ng2-redux#readme",
2424
"dependencies": {
25-
"angular2": "2.0.0-alpha.37",
26-
"ng2-redux": "2.0.0-alpha.3",
25+
"angular2": "^2.0.0-alpha.47",
26+
"ng2-redux": "^2.0.0",
2727
"react": "^0.13.3",
2828
"redux": "^3.0.0",
2929
"redux-devtools": "^2.1.0",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng2-redux",
3-
"version": "2.0.0-alpha.3",
3+
"version": "2.0.0",
44
"description": "Angular 2 bindings for Redux",
55
"main": "./lib/index.js",
66
"scripts": {
@@ -35,7 +35,7 @@
3535
},
3636
"peerDependencies": {
3737
"redux": "^2.0.0 || ^3.0.0",
38-
"angular2": "^2.0.0-alpha.30"
38+
"angular2": "^2.0.0-alpha.47"
3939
},
4040
"dependencies": {
4141
"invariant": "^2.1.0",

src/components/provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Connector from './connector';
2-
import {bind, Injector} from 'angular2/di';
2+
import {bind, Injector} from 'angular2/angular2';
33
let redux = require('redux');
44

55
export function provider(store) {

0 commit comments

Comments
 (0)