Skip to content

Commit

Permalink
Saved a var in an each loop and updated minified version
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Blum committed Feb 16, 2011
1 parent cb22af2 commit cd9d883
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions jquery.inview.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
var elements = [], elementsLength, i = 0, viewportSize, viewportOffset, expando = $.expando;

// naughty, but this is how it knows which elements to check for
$.each($.cache, function() {
var cacheObj = this, events = cacheObj.events;
$.each($.cache, function(i, cacheObj) {
var events = cacheObj.events;
if (!events) {
// needed for jQuery 1.5+
cacheObj = this[expando];
Expand Down
6 changes: 3 additions & 3 deletions jquery.inview.min.js

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

0 comments on commit cd9d883

Please sign in to comment.