Skip to content

Commit

Permalink
fix for use with browserify
Browse files Browse the repository at this point in the history
  • Loading branch information
jbach committed Aug 13, 2015
1 parent 72e6b7d commit 52447f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jquery-visibility.js
Expand Up @@ -22,7 +22,7 @@
// Browser globals
factory(root, jQuery);
}
}(this, function(window, $, undefined) {
}(typeof window !== 'undefined' ? window : this, function(window, $, undefined) {
"use strict";

var
Expand Down
2 changes: 1 addition & 1 deletion jquery-visibility.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/jquery-visibility.js
Expand Up @@ -11,7 +11,7 @@
// Browser globals
factory(root, jQuery);
}
}(this, function(window, $, undefined) {
}(typeof window !== 'undefined' ? window : this, function(window, $, undefined) {
"use strict";

var
Expand Down

0 comments on commit 52447f1

Please sign in to comment.