Skip to content

Commit 9e9a470

Browse files
committed
Merge pull request #79 from kareniel/asyncExample
Fix the async example
2 parents 755f310 + 52a47b9 commit 9e9a470

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

examples/async/.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015"]
3+
}

examples/async/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import 'babel-core/polyfill';
1+
//import 'babel-core/polyfill';
22
import angular from 'angular';
33
import ngRedux from 'ng-redux';
44
import thunk from 'redux-thunk';

examples/async/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"homepage": "https://github.com/wbuchwalter/ngRedux#readme",
1717
"dependencies": {
1818
"angular": "^1.4.4",
19+
"babel-core": "^6.8.0",
20+
"babel-loader": "^6.2.4",
21+
"babel-preset-es2015": "^6.6.0",
1922
"ng-redux": "^3.0.0",
2023
"redux": "^3.0.0",
2124
"redux-logger": "^2.0.2",

0 commit comments

Comments
 (0)