diff options
| author | Teddy Wing | 2012-06-24 05:39:11 -0400 |
|---|---|---|
| committer | Teddy Wing | 2012-06-24 05:39:11 -0400 |
| commit | 45ffe348a306fdb2310a542e35abe5c6dfb969a1 (patch) | |
| tree | 3a03fb9411f60b14048bce6c4c59c8d479457552 | |
| parent | 6f5e24ff830fa83e7fc640c4ce5599381dbf282c (diff) | |
| parent | 285771476af58db4b2b0839059f11e9ab0dfa90b (diff) | |
| download | LikeFeed-45ffe348a306fdb2310a542e35abe5c6dfb969a1.tar.bz2 | |
Merge branch 'master' of github.com:teddywing/LikeFeed
| -rw-r--r-- | Resources/friendship/core/DataManipulation.js | 8 | ||||
| -rw-r--r-- | Resources/friendship/ui/LikeList.js | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/Resources/friendship/core/DataManipulation.js b/Resources/friendship/core/DataManipulation.js new file mode 100644 index 0000000..e582ed9 --- /dev/null +++ b/Resources/friendship/core/DataManipulation.js @@ -0,0 +1,8 @@ +(function() { + fs.data = {}; + fs.data.friends = Array(); + fs.data.likeIDs = Array(); + fs.data.reverseChronoLikedIDs = Array(); + fs.data.numLikesFetched = 0; + fs.data.NUM_LIKES_PER_FETCH = 20; +})();
\ No newline at end of file diff --git a/Resources/friendship/ui/LikeList.js b/Resources/friendship/ui/LikeList.js index 793a836..69b44a7 100644 --- a/Resources/friendship/ui/LikeList.js +++ b/Resources/friendship/ui/LikeList.js @@ -278,7 +278,8 @@ ll_view.addEventListener("scrollEnd", function(e) { Ti.API.info("scroll ended"); - Ti.API.info(e.contentOffset); + Ti.API.info(e.contentOffset.y); + Ti.API.info(ll_view.height); }); return ll_view; |
