Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Clean up whitespace in README and mention that it also works with Zepto. #1

merged 1 commit into from

2 participants


Super trivial whitespace clean up and mention that it also works with Zepto, since it's only using empty and append.

@cpytel cpytel merged commit 519cdc0 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 5 deletions.
  1. +4 −5
@@ -5,7 +5,7 @@
The book contains complete instructions and in-depth coverage of the internals
of CompositeView and Swappingrouter, and an example application that shows
-their usage
+their usage.
### SwappingRouter
@@ -24,7 +24,7 @@ view by rendering that view into its own `el`:
if (this.currentView && this.currentView.leave) {
this.currentView = newView;
@@ -74,7 +74,7 @@ maintain a back-reference at `this.parent`. This is used to reach up and call
You'll need these, but chances are you already have them in your app:
-* jQuery
+* jQuery or Zepto
* Underscore
* Backbone
@@ -131,7 +131,7 @@ First off:
In your `config/application.rb`:
``` ruby
-config.middleware.use Rack::Static,
+config.middleware.use Rack::Static,
:urls => ['/vendor/plugins/backbone-support/lib/assets/javascripts']
@@ -157,7 +157,6 @@ end
Your individual specs will then need the full root path in `require`. For
``` js
requirePublic = function(path) {
require("/public/javascripts/" + path);
Something went wrong with that request. Please try again.