Skip to content

Commit 901aed6

Browse files
committed
Removoved old triggerAsync syntax, added fixed versions for React and Reflux
1 parent 968ba81 commit 901aed6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
},
4444
"dependencies": {
4545
"lodash": "^2.4.1",
46-
"react": "*",
47-
"reflux": "*",
46+
"react": "0.12.2",
47+
"reflux": "0.2.3",
4848
"react-semantify": "jessy1092/react-semantify",
49-
"react-router": "^0.11.6",
49+
"react-router": "0.11.6",
5050
"reactify": "^0.17.1",
5151
"rimraf": "^2.2.8"
5252
}

src/app/actions/LinksActions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const data = [
8282

8383
LinksActions.loadData.listen(function () {
8484
// here is the place for external communication with servers...
85-
LinksActions.loadDataSuccess.triggerAsync(data);
85+
LinksActions.loadDataSuccess(data);
8686
});
8787

8888
export default LinksActions;

src/app/components/App.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react';
22
import * as ReactRouter from 'react-router';
3-
import {Menu, Segment} from 'react-semantify';
3+
import {Menu, Segment, Section} from 'react-semantify';
44

55
const RouteHandler = ReactRouter.RouteHandler;
66
const Link = ReactRouter.Link;
@@ -11,7 +11,7 @@ const App = React.createClass({
1111
margin: 10
1212
};
1313
return (
14-
<section style={styles}>
14+
<Section style={styles}>
1515
<Menu>
1616
<Link to="home" className="item">
1717
<i className="home icon"></i>
@@ -29,7 +29,7 @@ const App = React.createClass({
2929
https://github.com/hipertracker/react-es7
3030
</a>
3131
</Segment>
32-
</section>
32+
</Section>
3333
)
3434
}
3535
});

0 commit comments

Comments
 (0)