Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Modularize code #132

Open
6 of 17 tasks
wbprice opened this issue Mar 1, 2015 · 0 comments
Open
6 of 17 tasks

Modularize code #132

wbprice opened this issue Mar 1, 2015 · 0 comments

Comments

@wbprice
Copy link
Member

wbprice commented Mar 1, 2015

Right now, all the bus finder logic is in single file. We should split apart the file to make the code easier to manage. Use Browserify to stitch everything back together.

I wrote a reference app based on TodoMVC using Browserify and Backbone to show what I'm looking for:
https://github.com/wbprice/browserify-backbone-test

Collections

  • ArrivalList
  • StopList
  • BusList
  • ActiveRoutesList

Models

  • Feedback
  • Arrival
  • Stop

Views

  • StopListView
  • StopView
  • MapView
  • Arrival
  • HomeView
  • StopsByIdView
  • RouteView
  • FindStopsView
  • FeedbackView
  • ContentView

and the Router.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant