Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed implicit global var

  • Loading branch information...
commit 3f7f715b8fd095ca98d3c2e09dc05eedc8b7ffee 1 parent ebf3868
@mdarnall mdarnall authored
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;
},
Please sign in to comment.
Something went wrong with that request. Please try again.