Permalink
Browse files

bad practice: undeclared global variable

  • Loading branch information...
1 parent 5aa6fa4 commit 7b66dd36fee610ae911345fc6ab92ac0984f5682 @ealize ealize committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.md
View
@@ -210,7 +210,7 @@ The benefit of this architecture is that each component plays its own separate r
var buildPhotoView = function( photoModel, photoController ){
var base = document.createElement('div'),
- photoEl = document.createElement('div');
+ var photoEl = document.createElement('div');
base.appendChild(photoEl);

0 comments on commit 7b66dd3

Please sign in to comment.