Skip to content

Commit aefec8a

Browse files
committed
refactored todo module file organization
1 parent 5ac6ea4 commit aefec8a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/app/actions/todo-actions.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export default function todoActions(firebaseService){
6262
todo: todo
6363
};
6464
}
65-
6665
return {
6766
editTodo,
6867
addTodo,

src/app/todo/components/todo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const ESCAPE_KEY_CODE = 27;
44
const ENTER_KEY_CODE = 13;
55

66
export const todo = {
7-
template: require('./todoItem.html'),
7+
template: require('./todo.html'),
88
bindings: {
99
parentTodo: '<todo',
1010
isEditableParent: '<isEditable',

src/app/todo/components/todos/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import {calculateChanges} from '../utils';
1+
import {calculateChanges} from '../../utils';
22
import './todos.scss';
33

44
export const todos = {
5-
template: require('./todoList.html'),
5+
template: require('./todos.html'),
66
bindings: {
77
todos: '<',
88
addTodo: '<',

todo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
3. Спиннер на асинхронную загрузку (из стейта будет брать состояние)
1+
3. Спиннер на асинхронную загрузку (из стейта будет брать состояние)
2+
4. Переделать < на &

0 commit comments

Comments
 (0)