Browse files

Fixed implicit global var

  • Loading branch information...
1 parent ebf3868 commit 3f7f715b8fd095ca98d3c2e09dc05eedc8b7ffee @mdarnall mdarnall committed Aug 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rosie.js
View
2 src/rosie.js
@@ -6,7 +6,7 @@ var Factory = function(constructor) {
Factory.prototype = {
attr: function(attr, value) {
- callback = typeof value == 'function' ? value : function() { return value; };
+ var callback = typeof value == 'function' ? value : function() { return value; };
this.attrs[attr] = callback;
return this;
},

0 comments on commit 3f7f715

Please sign in to comment.