Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Quick fix for implicit global var declaration #2

Merged
merged 1 commit into from

2 participants

@mdarnall

No description provided.

@bkeepers bkeepers merged commit ce89687 into bkeepers:master
@bkeepers
Owner

Doh, good catch. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 22, 2012
  1. @mdarnall

    Fixed implicit global var

    mdarnall authored
This page is out of date. Refresh to see the latest.
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;
},
Something went wrong with that request. Please try again.