Skip to content

Conversation

azu
Copy link
Member

@azu azu commented Jan 20, 2015

リファクタリングのためのテスト

Purpose

migrate jQuery to Backbone.

  • introduce browserify and 6to5
  • install backbone and underscore
  • extract createTodItem from submit handler
  • replace createTodItem of jQuery implement to createTodItem of Backbone implement.

Change

Added

  • src/todo-item-view.js
  • src/todo-item-model.js
  • src/todo-item-collection.js

not yet

  • add TodoListView?
    • clear all todos support

@azu
Copy link
Member Author

azu commented Jan 21, 2015

CollectionでTodoItemを管理するところまで、
アプリ全体はBackboneにしてない。多分した方が今後機能追加するにはいいはず

azu added a commit that referenced this pull request Jan 21, 2015
@azu azu merged commit d623ff0 into gh-pages Jan 21, 2015
@azu azu deleted the refactoring-to-backbone branch January 21, 2015 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant