Skip to content

Commit 582d0c9

Browse files
committed
update todomvc, usinsg react-most v0.6.5
1 parent 5b7bc1c commit 582d0c9

File tree

8 files changed

+9
-10
lines changed

8 files changed

+9
-10
lines changed

examples/todomvc/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@
3232
},
3333
"dependencies": {
3434
"classnames": "^2.2.0",
35-
"lodash": "^4.0.0",
3635
"most": "^1.0.5",
3736
"ramda": "^0.22.1",
3837
"react": "^15.3.2",
3938
"react-dom": "^15.3.2",
40-
"react-most": "0.6.4",
39+
"react-most": "^0.6.5",
4140
"rest": "^1.3.1",
4241
"union-type": "^0.3.3"
4342
},

examples/todomvc/src/components/Footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22
import classnames from 'classnames'
33
import {connect} from 'react-most'
44
import MainSection from './MainSection'
5-
import Intent from '../todo.action.js'
5+
import Intent from '../intent'
66
const FILTER_TITLES = {
77
'SHOW_ALL': 'All',
88
'SHOW_ACTIVE': 'Active',

examples/todomvc/src/components/MainSection.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {connect} from 'react-most'
55
import rest from 'rest'
66
const remote = 'todos.json';
77
import * as most from 'most'
8-
import Intent from '../todo.action'
8+
import Intent from '../intent'
99
import r from 'ramda'
1010
const alwaysId = ()=>r.identity
1111

examples/todomvc/src/components/TodoItem.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import classnames from 'classnames'
33
import TodoTextInput from './TodoTextInput'
44
import MainSection from './MainSection'
55
import {connect} from 'react-most'
6-
import Intent from '../todo.action'
6+
import Intent from '../intent'
77
const TodoItemView = ({todo, actions, index}) => {
88
return <div className="view">
99
<input className="toggle"

examples/todomvc/src/components/TodoTextInput.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import classnames from 'classnames'
33
import MainSection from './MainSection'
44
import {connect} from 'react-most'
55
import TodoItem from './TodoItem'
6-
import Intent from '../todo.action'
6+
import Intent from '../intent'
77
let TodoTextInput = React.createClass({
88
getInitialState(){
99
return {

examples/todomvc/src/components/__tests__/MainSection-spec.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ jest.mock('rest')
22
import rest from 'rest'
33
import React from 'react'
44
import when from 'when'
5-
import Intent from '../../todo.action'
5+
import Intent from '../../intent'
66
import MainSection from '../MainSection.jsx'
77
import Footer, {FILTER_FUNC} from '../Footer.jsx'
88
import TodoItem from '../TodoItem.jsx'
File renamed without changes.

examples/todomvc/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2935,9 +2935,9 @@ react-dom:
29352935
version "15.3.2"
29362936
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.3.2.tgz#c46b0aa5380d7b838e7a59c4a7beff2ed315531f"
29372937

2938-
2939-
version "0.6.4"
2940-
resolved "https://registry.yarnpkg.com/react-most/-/react-most-0.6.4.tgz#a9fb1c3e77f3b97f56de9e333499e040a9193967"
2938+
react-most@^0.6.5:
2939+
version "0.6.5"
2940+
resolved "https://registry.yarnpkg.com/react-most/-/react-most-0.6.5.tgz#35f72e1bfc177d758defd273273428f6f69acc84"
29412941
dependencies:
29422942
most "^1.0.5"
29432943
most-subject "^5.2.0"

0 commit comments

Comments
 (0)