Permalink
Browse files

Consistency fix

  • Loading branch information...
1 parent 8ca0709 commit 72b40e26e2dfc059b644a13b3e7c46d6b26412dd @silvenon silvenon committed Oct 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 book/index.html
View
@@ -2221,7 +2221,7 @@ <h2 id="observerpatternjavascript">The Observer Pattern</h2>
// Pre-compile templates and "cache" them using closure
var
userTemplate = _.template($( "#userTemplate" ).html()),
- ratingTemplate = _.template($( "#ratingsTemplate" ).html());
+ ratingsTemplate = _.template($( "#ratingsTemplate" ).html());
// Subscribe to the new user topic, which adds a user
// to a list of users who have submitted reviews
@@ -2244,7 +2244,7 @@ <h2 id="observerpatternjavascript">The Observer Pattern</h2>
if( data ){
- $( "#ratings" ).append( ratingTemplate( data );
+ $( "#ratings" ).append( ratingsTemplate( data );
}

0 comments on commit 72b40e2

Please sign in to comment.