Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/searls/refactor-to-backbone-example
A little example repo demonstrating a refactor from jQuery to backbone.
https://github.com/searls/refactor-to-backbone-example
Last synced: 3 months ago
JSON representation
A little example repo demonstrating a refactor from jQuery to backbone.
- Host: GitHub
- URL: https://github.com/searls/refactor-to-backbone-example
- Owner: searls
- Created: 2013-03-13T17:54:18.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-21T04:26:02.000Z (almost 12 years ago)
- Last Synced: 2024-10-19T23:21:57.092Z (3 months ago)
- Language: JavaScript
- Size: 309 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# a little backbone refactor
Simple little repo demoing a refactor.
To get started, [install lineman](https://github.com/testdouble/lineman), clone the repo, then run `npm install` inside the repository root directory.
If you run
```
$ lineman run --force
```You'll see at [localhost:8000](http://localhost:8000), a little example sign up page. It's implementation is in `app/js/sign-up.js`.
If you switch to the `backbone` branch (you'll need to restart lineman), the same toy app will have been refactored to basic backbone objects.